mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Require export on all vscode public api types
Adds new eslint rule which requires `export` be used for public api types The `export` is not actually needed, but our existing typing files largely use it. This makes it consistent
This commit is contained in:
@@ -14,20 +14,20 @@ declare module 'vscode' {
|
||||
Indexed = 2
|
||||
}
|
||||
|
||||
interface VariablesResult {
|
||||
export interface VariablesResult {
|
||||
variable: Variable;
|
||||
hasNamedChildren: boolean;
|
||||
indexedChildrenCount: number;
|
||||
}
|
||||
|
||||
interface NotebookVariableProvider {
|
||||
export interface NotebookVariableProvider {
|
||||
onDidChangeVariables: Event<NotebookDocument>;
|
||||
|
||||
/** When parent is undefined, this is requesting global Variables. When a variable is passed, it's requesting child props of that Variable. */
|
||||
provideVariables(notebook: NotebookDocument, parent: Variable | undefined, kind: NotebookVariablesRequestKind, start: number, token: CancellationToken): AsyncIterable<VariablesResult>;
|
||||
}
|
||||
|
||||
interface Variable {
|
||||
export interface Variable {
|
||||
/** The variable's name. */
|
||||
name: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user