12 lines
No EOL
468 B
Text
12 lines
No EOL
468 B
Text
tests/cases/compiler/augmentedClassWithPrototypePropertyOnModule.ts(3,9): error TS2300: Duplicate identifier 'prototype'.
|
|
|
|
|
|
==== tests/cases/compiler/augmentedClassWithPrototypePropertyOnModule.ts (1 errors) ====
|
|
declare module m {
|
|
var f;
|
|
var prototype; // This should be error since prototype would be static property on class m
|
|
~~~~~~~~~
|
|
!!! error TS2300: Duplicate identifier 'prototype'.
|
|
}
|
|
declare class m {
|
|
} |