Closed armano2 closed 5 years ago
small update
@mysticatea i have question about implements
do you think that it should be variable?
implements
references to type -> interface which is type
No.
TypeScript has two namespaces: variables and types.
// Those are not redeclaration
// because `interface` defines only in types and `const` defines only in variables.
interface A {}
const A = 0
// On the other hand, `class` defines in both types and variables.
class B {}
Then, the scopeManager
doesn't have things of types namespace.
I think that we should provide a way to access types
namespace, but we don't have it now.
ok, i was thinking correctly,
i just wanted to confirm that :)
I did some checking what we can and what we are not able to visit and i found some missing stuff:
missing
typeParameters
new foo<Foo>()
#565foo<Foo>()
#565abstract class Foo<Bar> {}
missing
superTypeParameters
class foo extends bar<Foo>
missing
implements
class foo implements bar
,class foo implements bar, baz
missing import equals
import foo = require('foo')
invalid order:
missing decorators: