9 lines
341 B
Plaintext
9 lines
341 B
Plaintext
==== 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 {
|
|
} |