mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
749 B
Plaintext
23 lines
749 B
Plaintext
error TS5069: Option 'declarationMap' cannot be specified without specifying option 'declaration' or option 'composite'.
|
|
|
|
|
|
!!! error TS5069: Option 'declarationMap' cannot be specified without specifying option 'declaration' or option 'composite'.
|
|
==== declarationMapsWithoutDeclaration.ts (0 errors) ====
|
|
namespace m2 {
|
|
export interface connectModule {
|
|
(res, req, next): void;
|
|
}
|
|
export interface connectExport {
|
|
use: (mod: connectModule) => connectExport;
|
|
listen: (port: number) => void;
|
|
}
|
|
|
|
}
|
|
|
|
declare var m2: {
|
|
(): m2.connectExport;
|
|
test1: m2.connectModule;
|
|
test2(): m2.connectModule;
|
|
};
|
|
|
|
export = m2; |