mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
335 B
TypeScript
19 lines
335 B
TypeScript
//// [tests/cases/compiler/accessStaticMemberFromInstanceMethod01.ts] ////
|
|
|
|
//// [accessStaticMemberFromInstanceMethod01.ts]
|
|
class C {
|
|
foo: string;
|
|
|
|
static bar() {
|
|
let k = foo;
|
|
}
|
|
}
|
|
|
|
//// [accessStaticMemberFromInstanceMethod01.js]
|
|
"use strict";
|
|
class C {
|
|
static bar() {
|
|
let k = foo;
|
|
}
|
|
}
|