mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
381 B
Plaintext
13 lines
381 B
Plaintext
//// [tests/cases/compiler/illegalModifiersOnClassElements.ts] ////
|
|
|
|
=== illegalModifiersOnClassElements.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(illegalModifiersOnClassElements.ts, 0, 0))
|
|
|
|
declare foo = 1;
|
|
>foo : Symbol(C.foo, Decl(illegalModifiersOnClassElements.ts, 0, 9))
|
|
|
|
export bar = 1;
|
|
>bar : Symbol(C.bar, Decl(illegalModifiersOnClassElements.ts, 1, 20))
|
|
}
|