]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/parsers/type-annotations/function-declaration-type-annotation-no-space.js
3 * function foo(a: number=0): Foo { }
6 exports
.parse
= () => ({
24 "type": "FunctionDeclaration",
62 "type": "AssignmentPattern",
95 "type": "TypeAnnotation",
111 "type": "NumberKeyword",
151 "type": "BlockStatement",
169 "type": "TypeAnnotation",
185 "type": "TypeReference",
201 "type": "Identifier",
222 "sourceType": "script",
245 "type": "Identifier",
265 "type": "Punctuator",
285 "type": "Identifier",
305 "type": "Punctuator",
325 "type": "Identifier",
345 "type": "Punctuator",
385 "type": "Punctuator",
405 "type": "Punctuator",
425 "type": "Identifier",
445 "type": "Punctuator",
465 "type": "Punctuator",