-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
A extends
keyword derives only namespace of variables.
TypeScript Version:
master
Code
class B {
}
namespace B {
export type M = number;
export var m = 0;
}
class D extends B {}
var m: D.M = D.m;
Expected behavior:
$ node built/local/tsc.js index.ts
Actual behavior:
$ node built/local/tsc.js index.ts
index.ts(8,8): error TS2503: Cannot find namespace 'D'.
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug