9 lines
327 B
Text
9 lines
327 B
Text
|
==== 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
|
||
|
~~~~~~~~~
|
||
|
!!! Duplicate identifier 'prototype'.
|
||
|
}
|
||
|
declare class m {
|
||
|
}
|