18 lines
No EOL
741 B
Text
18 lines
No EOL
741 B
Text
==== tests/cases/compiler/exportDeclareClass1.ts (4 errors) ====
|
|
export declare class eaC {
|
|
static tF() { };
|
|
~
|
|
!!! A function implementation cannot be declared in an ambient context.
|
|
~
|
|
!!! Unexpected token. A constructor, method, accessor, or property was expected.
|
|
static tsF(param:any) { };
|
|
~
|
|
!!! A function implementation cannot be declared in an ambient context.
|
|
~
|
|
!!! Unexpected token. A constructor, method, accessor, or property was expected.
|
|
};
|
|
|
|
export declare class eaC2 {
|
|
static tF();
|
|
static tsF(param:any);
|
|
}; |