mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
85 lines
1.2 KiB
TypeScript
85 lines
1.2 KiB
TypeScript
// @declaration: true
|
|
|
|
function foo() {}
|
|
// properties
|
|
foo.x = 1;
|
|
foo.y = 1;
|
|
|
|
// keywords
|
|
foo.break = 1;
|
|
foo.case = 1;
|
|
foo.catch = 1;
|
|
foo.class = 1;
|
|
foo.const = 1;
|
|
foo.continue = 1;
|
|
foo.debugger = 1;
|
|
foo.default = 1;
|
|
foo.delete = 1;
|
|
foo.do = 1;
|
|
foo.else = 1;
|
|
foo.enum = 1;
|
|
foo.export = 1;
|
|
foo.extends = 1;
|
|
foo.false = 1;
|
|
foo.finally = 1;
|
|
foo.for = 1;
|
|
foo.function = 1;
|
|
foo.if = 1;
|
|
foo.import = 1;
|
|
foo.in = 1;
|
|
foo.instanceof = 1;
|
|
foo.new = 1;
|
|
foo.null = 1;
|
|
foo.return = 1;
|
|
foo.super = 1;
|
|
foo.switch = 1;
|
|
foo.this = 1;
|
|
foo.throw = 1;
|
|
foo.true = 1;
|
|
foo.try = 1;
|
|
foo.typeof = 1;
|
|
foo.var = 1;
|
|
foo.void = 1;
|
|
foo.while = 1;
|
|
foo.with = 1;
|
|
foo.implements = 1;
|
|
foo.interface = 1;
|
|
foo.let = 1;
|
|
foo.package = 1;
|
|
foo.private = 1;
|
|
foo.protected = 1;
|
|
foo.public = 1;
|
|
foo.static = 1;
|
|
foo.yield = 1;
|
|
foo.abstract = 1;
|
|
foo.as = 1;
|
|
foo.asserts = 1;
|
|
foo.any = 1;
|
|
foo.async = 1;
|
|
foo.await = 1;
|
|
foo.boolean = 1;
|
|
foo.constructor = 1;
|
|
foo.declare = 1;
|
|
foo.get = 1;
|
|
foo.infer = 1;
|
|
foo.is = 1;
|
|
foo.keyof = 1;
|
|
foo.module = 1;
|
|
foo.namespace = 1;
|
|
foo.never = 1;
|
|
foo.readonly = 1;
|
|
foo.require = 1;
|
|
foo.number = 1;
|
|
foo.object = 1;
|
|
foo.set = 1;
|
|
foo.string = 1;
|
|
foo.symbol = 1;
|
|
foo.type = 1;
|
|
foo.undefined = 1;
|
|
foo.unique = 1;
|
|
foo.unknown = 1;
|
|
foo.from = 1;
|
|
foo.global = 1;
|
|
foo.bigint = 1;
|
|
foo.of = 1;
|