This image shows the Properties pane for the InstanceFactory type called myapp/MyTypeFromCode. The Type Definition field shows an imported .d.ts file that's been converted to JSON and saved at resources/typedefs/myapp/MyTypeFromCode.json.