TypeScript/tests/baselines/reference/augmentedClassWithPrototypePropertyOnModule.errors.txt

9 lines
327 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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 {
}