File: declarations.d.ts

package info (click to toggle)
node-rollup 3.29.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 53,520 kB
  • sloc: javascript: 115,081; sh: 26; makefile: 18
file content (105 lines) | stat: -rw-r--r-- 2,583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// internal
declare module 'help.md' {
	const value: string;
	export default value;
}

// external libs
declare module 'rollup-plugin-string' {
	import type { PluginImpl } from 'rollup';

	export const string: PluginImpl;
}

declare module 'acorn-import-assertions' {
	export const importAssertions: () => unknown;
}

declare module 'is-reference' {
	import type * as estree from 'estree';

	export default function is_reference(
		node: NodeWithFieldDefinition,
		parent: NodeWithFieldDefinition
	): boolean;

	export type Node =
		| estree.ArrayExpression
		| estree.ArrayPattern
		| estree.ArrowFunctionExpression
		| estree.AssignmentExpression
		| estree.AssignmentPattern
		| estree.AssignmentProperty
		| estree.AwaitExpression
		| estree.BinaryExpression
		| estree.BlockStatement
		| estree.BreakStatement
		| estree.CatchClause
		| estree.ChainExpression
		| estree.ClassBody
		| estree.ClassDeclaration
		| estree.ClassExpression
		| estree.ConditionalExpression
		| estree.ContinueStatement
		| estree.DebuggerStatement
		| estree.DoWhileStatement
		| estree.EmptyStatement
		| estree.ExportAllDeclaration
		| estree.ExportDefaultDeclaration
		| estree.ExportNamedDeclaration
		| estree.ExportSpecifier
		| estree.ExpressionStatement
		| estree.ForInStatement
		| estree.ForOfStatement
		| estree.ForStatement
		| estree.FunctionDeclaration
		| estree.FunctionExpression
		| estree.IfStatement
		| estree.Identifier
		| estree.ImportDeclaration
		| estree.ImportDefaultSpecifier
		| estree.ImportExpression
		| estree.ImportNamespaceSpecifier
		| estree.ImportSpecifier
		| estree.LabeledStatement
		| estree.LogicalExpression
		| estree.MemberExpression
		| estree.MetaProperty
		| estree.MethodDefinition
		| estree.NewExpression
		| estree.ObjectExpression
		| estree.ObjectPattern
		| estree.Program
		| estree.Property
		| estree.RegExpLiteral
		| estree.RestElement
		| estree.ReturnStatement
		| estree.SequenceExpression
		| estree.SimpleCallExpression
		| estree.SimpleLiteral
		| estree.SpreadElement
		| estree.Super
		| estree.SwitchCase
		| estree.SwitchStatement
		| estree.TaggedTemplateExpression
		| estree.TemplateElement
		| estree.TemplateLiteral
		| estree.ThisExpression
		| estree.ThrowStatement
		| estree.TryStatement
		| estree.UnaryExpression
		| estree.UpdateExpression
		| estree.VariableDeclaration
		| estree.VariableDeclarator
		| estree.WhileStatement
		| estree.WithStatement
		| estree.YieldExpression;

	export type NodeWithFieldDefinition =
		| Node
		| {
				computed: boolean;
				type: 'FieldDefinition';
				value: Node;
		  };
}