TypeScript/tests/cases/conformance/salsa/typeFromPropertyAssignmentWithExport.ts

12 lines
233 B
TypeScript

// @allowJs: true
// @checkJs: true
// @Filename: a.js
// @outDir: dist
// this is a javascript file...
export const Adapter = {};
Adapter.prop = {};
// comment this out, and it works
Adapter.asyncMethod = function() {}