def METHOD_NAME() -> None:
    first_prop = TypeScriptProperty(required=True, key="aProp", value=TypeScriptPrimitive("string"))
    second_prop = TypeScriptProperty(required=True, key="bProp", value=TypeScriptPrimitive("number"))
    interface = TypeScriptInterface(name="MyInterface", properties=(first_prop, second_prop))
    enum = TypeScriptEnum(name="MyEnum", values=(("FIRST", "a"), ("SECOND", "b")))
    namespace = TypeScriptNamespace("MyNamespace", values=(interface, enum))
    assert (
        namespace.write()
        == 'export namespace MyNamespace {\n\texport enum MyEnum {\n\tFIRST = "a",\n\tSECOND = "b",\n};\n\n\texport interface MyInterface {\n\taProp: string;\n\tbProp: number;\n};\n};'
    )