swc/crates/swc_ecma_parser/tests/tsc/jsdocImplements_signatures.ts

15 lines
236 B
TypeScript
Raw Normal View History

// @allowJs: true
// @checkJs: true
// @declaration: true
// @emitDeclarationOnly: true
// @outDir: ./out
// @Filename: /defs.d.ts
interface Sig {
[index: string]: string
}
// @Filename: /a.js
/** @implements {Sig} */
class B {
}