52 строки
2.1 KiB
Plaintext
52 строки
2.1 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
type Foo = {
|
|
bar: number
|
|
| string;
|
|
};
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>type Foo = {
|
|
^^^^
|
|
source.ts meta.type.declaration.ts storage.type.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^^^
|
|
source.ts meta.type.declaration.ts entity.name.type.alias.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^
|
|
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
|
|
^
|
|
source.ts meta.type.declaration.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts punctuation.definition.block.ts
|
|
> bar: number
|
|
^^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts
|
|
^^^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.definition.property.ts variable.object.property.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^^^^^^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts
|
|
> | string;
|
|
^^^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts keyword.operator.type.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^^^^^^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts punctuation.terminator.statement.ts
|
|
>};
|
|
^
|
|
source.ts meta.type.declaration.ts meta.object.type.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts |