type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
() => { map.deleteEvery({ min: 1, max: Infinity }); }
PurdueDualityLab/refa
tests/char-map.ts
TypeScript
ArrowFunction
() => { map.deleteEvery({ min: 1, max: NaN }); }
PurdueDualityLab/refa
tests/char-map.ts
TypeScript
ArrowFunction
() => { map.deleteEvery({ min: -Infinity, max: 1 }); }
PurdueDualityLab/refa
tests/char-map.ts
TypeScript
FunctionDeclaration
export async function sortedWithBlocks(e: Pipeline): Promise<(Step | null)[]> { const cache: StepCache = new Map(); const sorted = await sortedSteps(e, cache); // null denotes a block const allSteps: (Step | null)[] = []; let lastWaitStep = -1; for (const step of sorted) { dep: for (const potentialDepe...
danjuv/buildkite-graph
src/sortedWithBlocks.ts
TypeScript
FunctionDeclaration
export async function handleFetchLogCommand( interaction: CommandInteraction, args: ArgumentsOf<typeof FetchLogCommand>, locale: string, ) { const { client, client: { sql }, } = interaction; const regex = /https?:\/\/(?:canary\.|ptb\.)?discord(?:app)?\.com\/channels\/\d{17,19}\/\d{17,19}\/(\d{17,19})/gi; l...
almostSouji/sentinel
src/functions/commandHandling/commands/fetchLog.ts
TypeScript
ArrowFunction
(err) => logger.error(err)
almostSouji/sentinel
src/functions/commandHandling/commands/fetchLog.ts
TypeScript
ArrowFunction
() => { beforeEach(() => TestBed.configureTestingModule({ imports: [ HttpClientTestingModule ] }) ); it('should be created', () => { const service: ClassLevelService = TestBed.inject(ClassLevelService); expect(service).toBeTruthy(); }); }
OwenKelvin/FurahaSMS-frontend
src/app/services/class-level.service.spec.ts
TypeScript
ArrowFunction
() => TestBed.configureTestingModule({ imports: [ HttpClientTestingModule ] })
OwenKelvin/FurahaSMS-frontend
src/app/services/class-level.service.spec.ts
TypeScript
ArrowFunction
() => { const service: ClassLevelService = TestBed.inject(ClassLevelService); expect(service).toBeTruthy(); }
OwenKelvin/FurahaSMS-frontend
src/app/services/class-level.service.spec.ts
TypeScript
TypeAliasDeclaration
export type SvgType = { Check: string; Close: string; Help: string; Hourglass: string };
loftyshaky/shared
src/ts/shared/svg.ts
TypeScript
ClassDeclaration
export class Provider extends pulumi.ProviderResource { /** @internal */ public static readonly __pulumiType = 'example'; /** * Returns true if the given object is an instance of Provider. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same proc...
BenjaminSchiborr/pulumi
pkg/codegen/internal/test/testdata/cyclic-types/nodejs/provider.ts
TypeScript
InterfaceDeclaration
/** * The set of arguments for constructing a Provider resource. */ export interface ProviderArgs { }
BenjaminSchiborr/pulumi
pkg/codegen/internal/test/testdata/cyclic-types/nodejs/provider.ts
TypeScript
MethodDeclaration
/** * Returns true if the given object is an instance of Provider. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ public static isInstance(obj: any): obj is Provider { if (obj === undefined || obj === null) { return f...
BenjaminSchiborr/pulumi
pkg/codegen/internal/test/testdata/cyclic-types/nodejs/provider.ts
TypeScript
ClassDeclaration
//#region SourceCode export class SourceCode { text: string; ast: AST.Program; lines: string[]; hasBOM: boolean; parserServices: SourceCode.ParserServices; scopeManager: Scope.ScopeManager; visitorKeys: SourceCode.VisitorKeys; constructor(text: string, ast: AST.Program); constructor...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
ClassDeclaration
//#region Linter export class Linter { static version: string; version: string; constructor(options?: { cwd?: string }); verify(code: SourceCode | string, config: Linter.Config, filename?: string): Linter.LintMessage[]; verify(code: SourceCode | string, config: Linter.Config, options: Linter.Lint...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
ClassDeclaration
//#endregion //#region ESLint export class ESLint { static version: string; static outputFixes(results: ESLint.LintResult[]): Promise<void>; static getErrorResults(results: ESLint.LintResult[]): ESLint.LintResult[]; constructor(options?: ESLint.Options); lintFiles(patterns: string | string[]): P...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
ClassDeclaration
//#endregion //#region CLIEngine /** @deprecated Deprecated in favor of `ESLint` */ export class CLIEngine { static version: string; constructor(options: CLIEngine.Options); executeOnFiles(patterns: string[]): CLIEngine.LintReport; resolveFileGlobPatterns(patterns: string[]): string[]; getConfig...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
ClassDeclaration
class Options { allowInlineConfig?: boolean; baseConfig?: false | { [name: string]: any }; cache?: boolean; cacheFile?: string; cacheLocation?: string; configFile?: string; cwd?: string; envs?: string[]; errorOnUnmatchedPattern?: boolean; ...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
ClassDeclaration
//#endregion //#region RuleTester export class RuleTester { constructor(config?: any); run( name: string, rule: Rule.RuleModule, tests: { valid?: Array<string | RuleTester.ValidTestCase>; invalid?: RuleTester.InvalidTestCase[]; }, ): void; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Token { type: TokenType; value: string; range: Range; loc: SourceLocation; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface SourceLocation { start: ESTree.Position; end: ESTree.Position; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Program extends ESTree.Program { comments: ESTree.Comment[]; tokens: Token[]; loc: SourceLocation; range: Range; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ScopeManager { scopes: Scope[]; globalScope: Scope | null; acquire(node: ESTree.Node, inner?: boolean): Scope | null; getDeclaredVariables(node: ESTree.Node): Variable[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Scope { type: | "block" | "catch" | "class" | "for" | "function" | "function-expression-name" | "global" | "module" | "switch" | "with" | "TDZ"; isStrict: boolea...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Variable { name: string; identifiers: ESTree.Identifier[]; references: Reference[]; defs: Definition[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Reference { identifier: ESTree.Identifier; from: Scope; resolved: Variable | null; writeExpr: ESTree.Node | null; init: boolean; isWrite(): boolean; isRead(): boolean; isWriteOnly(): boolean; isReadOnly(): boolean; isReadWri...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Config { text: string; ast: AST.Program; parserServices?: ParserServices; scopeManager?: Scope.ScopeManager; visitorKeys?: VisitorKeys; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface VisitorKeys { [nodeType: string]: string[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface RuleModule { create(context: RuleContext): RuleListener; meta?: RuleMetaData; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface NodeListener { ArrayExpression?: (node: ESTree.ArrayExpression & NodeParentExtension) => void; ArrayPattern?: (node: ESTree.ArrayPattern & NodeParentExtension) => void; ArrowFunctionExpression?: (node: ESTree.ArrowFunctionExpression & NodeParentExtension) => void; AssignmentEx...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface NodeParentExtension { parent: Node; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface RuleListener extends NodeListener { onCodePathStart?(codePath: CodePath, node: Node): void; onCodePathEnd?(codePath: CodePath, node: Node): void; onCodePathSegmentStart?(segment: CodePathSegment, node: Node): void; onCodePathSegmentEnd?(segment: CodePathSegment, node: Node)...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface CodePath { id: string; initialSegment: CodePathSegment; finalSegments: CodePathSegment[]; returnedSegments: CodePathSegment[]; thrownSegments: CodePathSegment[]; currentSegments: CodePathSegment[]; upper: CodePath | null; childCodePaths: CodePat...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface CodePathSegment { id: string; nextSegments: CodePathSegment[]; prevSegments: CodePathSegment[]; reachable: boolean; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface RuleMetaData { docs?: { /** provides the short description of the rule in the [rules index](https://eslint.org/docs/rules/) */ description?: string; /** specifies the heading under which the rule is listed in the [rules index](https://eslint.org/docs/rules/) */ ...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface RuleContext { id: string; options: any[]; settings: { [name: string]: any }; parserPath: string; parserOptions: Linter.ParserOptions; parserServices: SourceCode.ParserServices; getAncestors(): ESTree.Node[]; getDeclaredVariables(node: ESTree.N...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ReportDescriptorOptionsBase { data?: { [key: string]: string }; fix?: null | ((fixer: RuleFixer) => null | Fix | IterableIterator<Fix> | Fix[]); }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ReportDescriptorOptions extends ReportDescriptorOptionsBase { suggest?: SuggestionReportDescriptor[] | null; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface RuleFixer { insertTextAfter(nodeOrToken: ESTree.Node | AST.Token, text: string): Fix; insertTextAfterRange(range: AST.Range, text: string): Fix; insertTextBefore(nodeOrToken: ESTree.Node | AST.Token, text: string): Fix; insertTextBeforeRange(range: AST.Range, text: string):...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Fix { range: AST.Range; text: string; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface RulesRecord { [rule: string]: RuleEntry; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface HasRules<Rules extends RulesRecord = RulesRecord> { rules?: Partial<Rules>; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface BaseConfig<Rules extends RulesRecord = RulesRecord> extends HasRules<Rules> { $schema?: string; env?: { [name: string]: boolean }; extends?: string | string[]; globals?: { [name: string]: boolean | "readonly" | "readable" | "writable" | "writeable" }; noInlineConfig?: ...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ConfigOverride<Rules extends RulesRecord = RulesRecord> extends BaseConfig<Rules> { excludedFiles?: string | string[]; files: string | string[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
// https://github.com/eslint/eslint/blob/v6.8.0/conf/config-schema.js interface Config<Rules extends RulesRecord = RulesRecord> extends BaseConfig<Rules> { ignorePatterns?: string | string[]; root?: boolean; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ParserOptions { ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020; sourceType?: "script" | "module"; ecmaFeatures?: { globalReturn?: boolean; impliedStrict?: boolean; jsx?: boolean; experimentalObjec...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface LintOptions { filename?: string; preprocess?: (code: string) => string[]; postprocess?: (problemLists: LintMessage[][]) => LintMessage[]; filterCodeBlock?: boolean; disableFixes?: boolean; allowInlineConfig?: boolean; reportUnusedDisableDirectives?: boo...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface LintSuggestion { desc: string; fix: Rule.Fix; messageId?: string; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface LintMessage { column: number; line: number; endColumn?: number; endLine?: number; ruleId: string | null; message: string; messageId?: string; nodeType?: string; fatal?: true; severity: Severity; fix?: Rule.Fix; /*...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface FixOptions extends LintOptions { fix?: boolean; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface FixReport { fixed: boolean; output: string; messages: LintMessage[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ESLintParseResult { ast: AST.Program; parserServices?: SourceCode.ParserServices; scopeManager?: Scope.ScopeManager; visitorKeys?: SourceCode.VisitorKeys; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ProcessorFile { text: string; filename: string; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
// https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins interface Processor<T extends string | ProcessorFile = string | ProcessorFile> { supportsAutofix?: boolean; preprocess?(text: string, filename: string): T[]; postprocess?(messages: LintMessage[][], filename: st...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Options { // File enumeration cwd?: string; errorOnUnmatchedPattern?: boolean; extensions?: string[]; globInputPaths?: boolean; ignore?: boolean; ignorePath?: string; // Linting allowInlineConfig?: boolean; baseConfig?: Linter.C...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface LintResult { filePath: string; messages: Linter.LintMessage[]; errorCount: number; warningCount: number; fixableErrorCount: number; fixableWarningCount: number; output?: string; source?: string; usedDeprecatedRules: DeprecatedRuleUse[]; ...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface LintResultData { rulesMeta: { [ruleId: string]: Rule.RuleMetaData; }; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface DeprecatedRuleUse { ruleId: string; replacedBy: string[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface Formatter { format(results: LintResult[], data?: LintResultData): string; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface LintReport { results: LintResult[]; errorCount: number; warningCount: number; fixableErrorCount: number; fixableWarningCount: number; usedDeprecatedRules: DeprecatedRuleUse[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface ValidTestCase { code: string; options?: any; filename?: string; parserOptions?: Linter.ParserOptions; settings?: { [name: string]: any }; parser?: string; globals?: { [name: string]: boolean }; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface SuggestionOutput { messageId?: string; desc?: string; data?: Record<string, unknown>; output: string; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface InvalidTestCase extends ValidTestCase { errors: number | Array<TestCaseError | string>; output?: string | null; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
InterfaceDeclaration
interface TestCaseError { message?: string | RegExp; messageId?: string; type?: string; data?: any; line?: number; column?: number; endLine?: number; endColumn?: number; suggestions?: SuggestionOutput[]; }
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type TokenType = | "Boolean" | "Null" | "Identifier" | "Keyword" | "Punctuator" | "JSXIdentifier" | "JSXText" | "Numeric" | "String" | "RegularExpression";
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type Range = [number, number];
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type DefinitionType = | { type: "CatchClause"; node: ESTree.CatchClause; parent: null } | { type: "ClassName"; node: ESTree.ClassDeclaration | ESTree.ClassExpression; parent: null } | { type: "FunctionName"; node: ESTree.FunctionDeclaration | ESTree.FunctionExpression; parent: null } | ...
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type Definition = DefinitionType & { name: ESTree.Identifier };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type ParserServices = any;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type FilterPredicate = (tokenOrComment: AST.Token | ESTree.Comment) => boolean;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type CursorWithSkipOptions = | number | FilterPredicate | { includeComments?: boolean; filter?: FilterPredicate; skip?: number; };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type CursorWithCountOptions = | number | FilterPredicate | { includeComments?: boolean; filter?: FilterPredicate; count?: number; };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type NodeTypes = ESTree.Node["type"];
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type Node = ESTree.Node & NodeParentExtension;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type SuggestionDescriptorMessage = { desc: string } | { messageId: string };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type SuggestionReportDescriptor = SuggestionDescriptorMessage & ReportDescriptorOptionsBase;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type ReportDescriptor = ReportDescriptorMessage & ReportDescriptorLocation & ReportDescriptorOptions;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type ReportDescriptorMessage = { message: string } | { messageId: string };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type ReportDescriptorLocation = | { node: ESTree.Node } | { loc: AST.SourceLocation | { line: number; column: number } };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type Severity = 0 | 1 | 2;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type RuleLevel = Severity | "off" | "warn" | "error";
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type RuleLevelAndOptions<Options extends any[] = any[]> = Prepend<Partial<Options>, RuleLevel>;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type RuleEntry<Options extends any[] = any[]> = RuleLevel | RuleLevelAndOptions<Options>;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type ParserModule = | { parse(text: string, options?: any): AST.Program; } | { parseForESLint(text: string, options?: any): ESLintParseResult; };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
// Docs reference the type by this name type EditInfo = Rule.Fix;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type LintResult = ESLint.LintResult;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type LintResultData = ESLint.LintResultData;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type DeprecatedRuleUse = ESLint.DeprecatedRuleUse;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
TypeAliasDeclaration
type Formatter = (results: LintResult[], data?: LintResultData) => string;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
static splitLines(text: string): string[];
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getText(node?: ESTree.Node, beforeCount?: number, afterCount?: number): string;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getLines(): string[];
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getAllComments(): ESTree.Comment[];
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getComments(node: ESTree.Node): { leading: ESTree.Comment[]; trailing: ESTree.Comment[] };
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getJSDocComment(node: ESTree.Node): AST.Token | null;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getNodeByRangeIndex(index: number): ESTree.Node | null;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
isSpaceBetweenTokens(first: AST.Token, second: AST.Token): boolean;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getLocFromIndex(index: number): ESTree.Position;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
getIndexFromLoc(location: ESTree.Position): number;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript
MethodDeclaration
// Inherited methods from TokenStore // --------------------------------- getTokenByRangeStart(offset: number, options?: { includeComments?: boolean }): AST.Token | null;
444sergey444/todo
node_modules/@types/eslint/index.d.ts
TypeScript