50e2fd87da
* only emit /// types reference for a symbol in d.ts file if all declarations of a symbol come from type reference directives * pass proper value for current directory when compiling .d.ts files
14 lines
238 B
TypeScript
14 lines
238 B
TypeScript
// @types: node
|
|
// @declaration: true
|
|
// @currentDirectory: /
|
|
|
|
// @filename: /node_modules/@types/node/index.d.ts
|
|
interface Error {
|
|
stack2: string;
|
|
}
|
|
|
|
// @filename: /app.ts
|
|
|
|
function foo(): Error {
|
|
return undefined;
|
|
} |