_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular-cli/packages/schematics/angular/library/files/tsconfig.spec.json.template_0_492 | /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
"compilerOpti... | {
"end_byte": 492,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/library/files/tsconfig.spec.json.template"
} |
angular-cli/packages/schematics/angular/library/files/tsconfig.lib.prod.json.template_0_401 | /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap":... | {
"end_byte": 401,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/library/files/tsconfig.lib.prod.json.template"
} |
angular-cli/packages/schematics/angular/library/files/src/__entryFile__.ts.template_0_250 | /*
* Public API Surface of <%= dasherize(name) %>
*/
export * from './lib/<%= dasherize(name) %>.service';
export * from './lib/<%= dasherize(name) %>.component';<% if (!standalone) { %>
export * from './lib/<%= dasherize(name) %>.module';<% } %>
| {
"end_byte": 250,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/library/files/src/__entryFile__.ts.template"
} |
angular-cli/packages/schematics/angular/ssr/index.ts_0_8300 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { isJsonObject, join, normalize, strings } from '@angular-devkit/core';
import {
Rule,
SchematicContext,
... | {
"end_byte": 8300,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/ssr/index.ts"
} |
angular-cli/packages/schematics/angular/ssr/index.ts_8302_12496 | function updateWebpackBuilderServerTsConfigRule(options: SSROptions): Rule {
return async (host) => {
const workspace = await readWorkspace(host);
const project = workspace.projects.get(options.project);
const serverTarget = project?.targets.get('server');
if (!serverTarget || !serverTarget.options) {... | {
"end_byte": 12496,
"start_byte": 8302,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/ssr/index.ts"
} |
angular-cli/packages/schematics/angular/ssr/index_spec.ts_0_7457 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
import { join } from 'node:... | {
"end_byte": 7457,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/ssr/index_spec.ts"
} |
angular-cli/packages/schematics/angular/ssr/files/server-builder/server.ts.template_0_2391 | import 'zone.js/node';
import { APP_BASE_HREF } from '@angular/common';
import { CommonEngine } from '@angular/ssr/node';
import * as express from 'express';
import { existsSync } from 'node:fs';
import { join } from 'node:path';
import <% if (isStandalone) { %>bootstrap<% } else { %>AppServerModule<% } %> from './mai... | {
"end_byte": 2391,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/ssr/files/server-builder/server.ts.template"
} |
angular-cli/packages/schematics/angular/ssr/files/application-builder-common-engine/server.ts.template_0_1937 | import { APP_BASE_HREF } from '@angular/common';
import { CommonEngine, isMainModule } from '@angular/ssr/node';
import express from 'express';
import { dirname, join, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import <% if (isStandalone) { %>bootstrap<% } else { %>AppServerModule<% } %> from... | {
"end_byte": 1937,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/ssr/files/application-builder-common-engine/server.ts.template"
} |
angular-cli/packages/schematics/angular/ssr/files/application-builder/server.ts.template_0_1825 | import {
AngularNodeAppEngine,
createNodeRequestHandler,
isMainModule,
writeResponseToNodeResponse,
} from '@angular/ssr/node';
import express from 'express';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
const serverDistFolder = dirname(fileURLToPath(import.meta.url))... | {
"end_byte": 1825,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/ssr/files/application-builder/server.ts.template"
} |
angular-cli/packages/schematics/angular/directive/index.ts_0_2381 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
Rule,
SchematicsException,
Tree,
apply,
applyTemplates,
chain,
filter,
mergeWith,
move,
... | {
"end_byte": 2381,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/directive/index.ts"
} |
angular-cli/packages/schematics/angular/directive/index_spec.ts_0_8276 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
import { Schema as Applicati... | {
"end_byte": 8276,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/directive/index_spec.ts"
} |
angular-cli/packages/schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template_0_210 | import { Directive } from '@angular/core';
@Directive({
selector: '[<%= selector %>]'<% if(!standalone) {%>,
standalone: false<%}%>
})
export class <%= classify(name) %>Directive {
constructor() { }
}
| {
"end_byte": 210,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template"
} |
angular-cli/packages/schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.spec.ts.template_0_285 | import { <%= classify(name) %>Directive } from './<%= dasherize(name) %>.directive';
describe('<%= classify(name) %>Directive', () => {
it('should create an instance', () => {
const directive = new <%= classify(name) %>Directive();
expect(directive).toBeTruthy();
});
});
| {
"end_byte": 285,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.spec.ts.template"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/LICENSE_0_9142 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean th... | {
"end_byte": 9142,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/LICENSE"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel_0_779 | load("//tools:defaults.bzl", "ts_library")
# files fetched on 2024-09-10 from
# https://github.com/microsoft/TypeScript/releases/tag/v5.6.2
# Commands to download:
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.6.2/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/T... | {
"end_byte": 779,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_0_832 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.... | {
"end_byte": 832,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_833_12453 | {
namespace server {
namespace protocol {
export import ApplicableRefactorInfo = ts.ApplicableRefactorInfo;
export import ClassificationType = ts.ClassificationType;
export import CompletionsTriggerCharacter = ts.CompletionsTriggerCharacter;
export import Comp... | {
"end_byte": 12453,
"start_byte": 833,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_12466_24096 | export interface TodoCommentRequestArgs extends FileRequestArgs {
/**
* Array of target TodoCommentDescriptors that describes TODO comments to be found
*/
descriptors: TodoCommentDescriptor[];
}
/**
* Response for Tod... | {
"end_byte": 24096,
"start_byte": 12466,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_24109_36138 | export interface GetEditsForRefactorResponse extends Response {
body?: RefactorEditInfo;
}
export interface RefactorEditInfo {
edits: FileCodeEdits[];
/**
* An optional location where the editor should start a rename operation once... | {
"end_byte": 36138,
"start_byte": 24109,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_36151_48176 | /**
* Argument for BraceCompletionRequest request.
*/
export interface BraceCompletionRequestArgs extends FileLocationRequestArgs {
/**
* Kind of opening brace
*/
openingBrace: string;
}
expor... | {
"end_byte": 48176,
"start_byte": 36151,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_48189_59978 | export interface ConfigureRequestArguments {
/**
* Information about the host, for example 'Emacs 24.4' or
* 'Sublime Text version 3075'
*/
hostInfo?: string;
/**
* If present, tab settings apply only to ... | {
"end_byte": 59978,
"start_byte": 48189,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_59991_71662 | /**
* Response to SetCompilerOptionsForInferredProjectsResponse request. This is just an acknowledgement, so
* no body field is required.
*/
export interface SetCompilerOptionsForInferredProjectsResponse extends Response {
}
/**
* ... | {
"end_byte": 71662,
"start_byte": 59991,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_71675_83403 | /**
* Completions request; value of command field is "completions".
* Given a file location (file, line, col) and a prefix (which may
* be the empty string), return the possible completions that
* begin with prefix.
*/
export interface Complet... | {
"end_byte": 83403,
"start_byte": 71675,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_83416_95305 | export interface FileRange {
/**
* The line number for the request (1-based).
*/
startLine: number;
/**
* The character offset (on the line) for the request (1-based).
*/
startOffset: numb... | {
"end_byte": 95305,
"start_byte": 83416,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_95318_107106 | /**
* Saveto request message; value of command field is "saveto".
* For debugging purposes, save to a temporaryfile (named by
* argument 'tmpfile') the contents of file named by argument
* 'file'. The server does not currently send a response to a
* "sav... | {
"end_byte": 107106,
"start_byte": 95318,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_107119_117328 | export type CompilerOptions = ChangePropertyTypes<ChangeStringIndexSignature<ts.CompilerOptions, CompilerOptionsValue>, {
jsx: JsxEmit | ts.JsxEmit;
module: ModuleKind | ts.ModuleKind;
moduleResolution: ModuleResolutionKind | ts.ModuleResolutionKind;
newLi... | {
"end_byte": 117328,
"start_byte": 107119,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_117337_123134 | interface ITypingsInstaller {
isKnownTypesPackageName(name: string): boolean;
installPackage(options: InstallPackageOptionsWithProject): Promise<ApplyCodeActionCommandResult>;
enqueueInstallTypingsRequest(p: Project, typeAcquisition: TypeAcquisition, unresolvedImports: SortedReadonly... | {
"end_byte": 123134,
"start_byte": 117337,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_123143_133950 | abstract class Project implements LanguageServiceHost, ModuleResolutionHost {
readonly projectKind: ProjectKind;
readonly projectService: ProjectService;
private documentRegistry;
private compilerOptions;
compileOnSaveEnabled: boolean;
protected wa... | {
"end_byte": 133950,
"start_byte": 123143,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_133959_141933 | function tryConvertScriptKindName(scriptKindName: protocol.ScriptKindName | ScriptKind): ScriptKind;
function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind.Unknown | ScriptKind.JS | ScriptKind.JSX | ScriptKind.TS | ScriptKind.TSX;
const maxProgramSizeForNonTsFiles: number;
... | {
"end_byte": 141933,
"start_byte": 133959,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_141942_152895 | class ProjectService {
private readonly nodeModulesWatchers;
private readonly filenameToScriptInfoVersion;
private readonly allJsFilesForOpenFileTelemetry;
private readonly externalProjectToConfiguredProjectMap;
/**
* external projects (configurat... | {
"end_byte": 152895,
"start_byte": 141942,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_152904_163032 | interface SessionOptions {
host: ServerHost;
cancellationToken: ServerCancellationToken;
useSingleInferredProject: boolean;
useInferredProjectPerProjectRoot: boolean;
typingsInstaller?: ITypingsInstaller;
byteLength: (buf: string, encoding?: Buffer... | {
"end_byte": 163032,
"start_byte": 152904,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_163033_170881 | {
Unknown = 0,
EndOfFileToken = 1,
SingleLineCommentTrivia = 2,
MultiLineCommentTrivia = 3,
NewLineTrivia = 4,
WhitespaceTrivia = 5,
ShebangTrivia = 6,
ConflictMarkerTrivia = 7,
NonTextFileMarkerTrivia = 8,
NumericLiteral = 9,
BigIn... | {
"end_byte": 170881,
"start_byte": 163033,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_170881_178442 | ,
ForOfStatement = 250,
ContinueStatement = 251,
BreakStatement = 252,
ReturnStatement = 253,
WithStatement = 254,
SwitchStatement = 255,
LabeledStatement = 256,
ThrowStatement = 257,
TryStatement = 258,
DebuggerStatement = 259,
Var... | {
"end_byte": 178442,
"start_byte": 170881,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_178447_186586 | type KeywordSyntaxKind =
| SyntaxKind.AbstractKeyword
| SyntaxKind.AccessorKeyword
| SyntaxKind.AnyKeyword
| SyntaxKind.AsKeyword
| SyntaxKind.AssertsKeyword
| SyntaxKind.AssertKeyword
| SyntaxKind.AsyncKeyword
| SyntaxKind.AwaitKeyword
| SyntaxKin... | {
"end_byte": 186586,
"start_byte": 178447,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_186591_196239 | type HasJSDoc =
| AccessorDeclaration
| ArrowFunction
| BinaryExpression
| Block
| BreakStatement
| CallSignatureDeclaration
| CaseClause
| ClassLikeDeclaration
| ClassStaticBlockDeclaration
| ConstructorDeclaration
| ConstructorTyp... | {
"end_byte": 196239,
"start_byte": 186591,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_196244_206949 | interface SignatureDeclarationBase extends NamedDeclaration, JSDocContainer {
readonly kind: SignatureDeclaration["kind"];
readonly name?: PropertyName;
readonly typeParameters?: NodeArray<TypeParameterDeclaration> | undefined;
readonly parameters: NodeArray<ParameterDeclaration>;
... | {
"end_byte": 206949,
"start_byte": 196244,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_206954_217043 | type FunctionOrConstructorTypeNode = FunctionTypeNode | ConstructorTypeNode;
interface FunctionOrConstructorTypeNodeBase extends TypeNode, SignatureDeclarationBase {
readonly kind: SyntaxKind.FunctionType | SyntaxKind.ConstructorType;
readonly type: TypeNode;
}
interface FunctionTypeNode ext... | {
"end_byte": 217043,
"start_byte": 206954,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_217048_227466 | type EqualityOperatorOrHigher = RelationalOperatorOrHigher | EqualityOperator;
type BitwiseOperator = SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken;
type BitwiseOperatorOrHigher = EqualityOperatorOrHigher | BitwiseOperator;
type LogicalOperator = SyntaxKind.AmpersandAmpersandToken ... | {
"end_byte": 227466,
"start_byte": 217048,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_227471_237853 | interface CallExpression extends LeftHandSideExpression, Declaration {
readonly kind: SyntaxKind.CallExpression;
readonly expression: LeftHandSideExpression;
readonly questionDotToken?: QuestionDotToken;
readonly typeArguments?: NodeArray<TypeNode>;
readonly arguments: NodeArray<... | {
"end_byte": 237853,
"start_byte": 227471,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_237858_248426 | interface SwitchStatement extends Statement, FlowContainer {
readonly kind: SyntaxKind.SwitchStatement;
readonly expression: Expression;
readonly caseBlock: CaseBlock;
possiblyExhaustive?: boolean;
}
interface CaseBlock extends Node, LocalsContainer {
readonly kind: Synta... | {
"end_byte": 248426,
"start_byte": 237858,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_248431_257261 | interface ExportSpecifier extends NamedDeclaration, JSDocContainer {
readonly kind: SyntaxKind.ExportSpecifier;
readonly parent: NamedExports;
readonly isTypeOnly: boolean;
readonly propertyName?: ModuleExportName;
readonly name: ModuleExportName;
}
type ModuleExportName ... | {
"end_byte": 257261,
"start_byte": 248431,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_257266_265702 | interface JSDocTypedefTag extends JSDocTag, NamedDeclaration, LocalsContainer {
readonly kind: SyntaxKind.JSDocTypedefTag;
readonly parent: JSDoc;
readonly fullName?: JSDocNamespaceDeclaration | Identifier;
readonly name?: Identifier;
readonly typeExpression?: JSDocTypeExpression... | {
"end_byte": 265702,
"start_byte": 257266,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_265707_274507 | interface Program extends ScriptReferenceHost {
getCurrentDirectory(): string;
/**
* Get a list of root file names that were passed to a 'createProgram'
*/
getRootFileNames(): readonly string[];
/**
* Get a list of files in the program
*/
getSo... | {
"end_byte": 274507,
"start_byte": 265707,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_274512_283802 | interface TypeChecker {
getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type;
getTypeOfSymbol(symbol: Symbol): Type;
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
getPropertiesOfType(type: Type): Symbol[];
getPropertyOfType(type: Type, propertyName: string): Symbol | unde... | {
"end_byte": 283802,
"start_byte": 274512,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_283811_290646 | /**
* Gets the intrinsic `undefined` type. There are multiple types that act as `undefined` used internally in the compiler
* depending on compiler options, so the type returned by this function should not be used in equality checks to determine
* if another type is `undefined`. Instead, use ... | {
"end_byte": 290646,
"start_byte": 283811,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_290651_298396 | enum SymbolFlags {
None = 0,
FunctionScopedVariable = 1,
BlockScopedVariable = 2,
Property = 4,
EnumMember = 8,
Function = 16,
Class = 32,
Interface = 64,
ConstEnum = 128,
RegularEnum = 256,
ValueModule = 512,
NamespaceModul... | {
"end_byte": 298396,
"start_byte": 290651,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_298401_307779 | enum ObjectFlags {
None = 0,
Class = 1,
Interface = 2,
Reference = 4,
Tuple = 8,
Anonymous = 16,
Mapped = 32,
Instantiated = 64,
ObjectLiteral = 128,
EvolvingArray = 256,
ObjectLiteralPatternWithComputedProperties = 512,
Rev... | {
"end_byte": 307779,
"start_byte": 298401,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_307784_316756 | interface ProjectReference {
/** A normalized path on disk */
path: string;
/** The path as the user originally wrote it */
originalPath?: string;
/** @deprecated */
prepend?: boolean;
/** True if it is intended that this reference form a circularity */
ci... | {
"end_byte": 316756,
"start_byte": 307784,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_316761_325756 | interface MinimalResolutionCacheHost extends ModuleResolutionHost {
getCompilationSettings(): CompilerOptions;
getCompilerHost?(): CompilerHost | undefined;
}
/**
* Represents the result of module resolution.
* Module resolution will pick up tsx/jsx/js files even if '--jsx' and '--allo... | {
"end_byte": 325756,
"start_byte": 316761,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_325761_326064 | type ImmediatelyInvokedFunctionExpression = CallExpression & {
readonly expression: FunctionExpression;
};
type ImmediatelyInvokedArrowFunction = CallExpression & {
readonly expression: ParenthesizedExpression & {
readonly expression: ArrowFunction;
};
}; | {
"end_byte": 326064,
"start_byte": 325761,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_326069_336269 | interface NodeFactory {
createNodeArray<T extends Node>(elements?: readonly T[], hasTrailingComma?: boolean): NodeArray<T>;
createNumericLiteral(value: string | number, numericLiteralFlags?: TokenFlags): NumericLiteral;
createBigIntLiteral(value: string | PseudoBigInt): BigIntLiteral;
cr... | {
"end_byte": 336269,
"start_byte": 326069,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_336278_345915 | updateTemplateLiteralTypeSpan(node: TemplateLiteralTypeSpan, type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
createClassStaticBlockDeclaration(body: Block): ClassStaticBlockDeclaration;
updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, body: Block): C... | {
"end_byte": 345915,
"start_byte": 336278,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_345924_356397 | updateCallChain(node: CallChain, expression: Expression, questionDotToken: QuestionDotToken | undefined, typeArguments: readonly TypeNode[] | undefined, argumentsArray: readonly Expression[]): CallChain;
createNewExpression(expression: Expression, typeArguments: readonly TypeNode[] | undefined, argumentsArray: ... | {
"end_byte": 356397,
"start_byte": 345924,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_356406_366938 | updateForOfStatement(node: ForOfStatement, awaitModifier: AwaitKeyword | undefined, initializer: ForInitializer, expression: Expression, statement: Statement): ForOfStatement;
createContinueStatement(label?: string | Identifier): ContinueStatement;
updateContinueStatement(node: ContinueStatement, label:... | {
"end_byte": 366938,
"start_byte": 356406,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_366947_374567 | createExternalModuleReference(expression: Expression): ExternalModuleReference;
updateExternalModuleReference(node: ExternalModuleReference, expression: Expression): ExternalModuleReference;
createJSDocAllType(): JSDocAllType;
createJSDocUnknownType(): JSDocUnknownType;
createJSDocNonNul... | {
"end_byte": 374567,
"start_byte": 366947,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_374576_382443 | createJSDocOverloadTag(tagName: Identifier | undefined, typeExpression: JSDocSignature, comment?: string | NodeArray<JSDocComment>): JSDocOverloadTag;
updateJSDocOverloadTag(node: JSDocOverloadTag, tagName: Identifier | undefined, typeExpression: JSDocSignature, comment: string | NodeArray<JSDocComment> | undef... | {
"end_byte": 382443,
"start_byte": 374576,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_382452_392729 | createJsxNamespacedName(namespace: Identifier, name: Identifier): JsxNamespacedName;
updateJsxNamespacedName(node: JsxNamespacedName, namespace: Identifier, name: Identifier): JsxNamespacedName;
createCaseClause(expression: Expression, statements: readonly Statement[]): CaseClause;
updateCaseCla... | {
"end_byte": 392729,
"start_byte": 382452,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_392734_401126 | interface TransformationResult<T extends Node> {
/** Gets the transformed source files. */
transformed: T[];
/** Gets diagnostics for the transformation. */
diagnostics?: DiagnosticWithLocation[];
/**
* Gets a substitute for a node, if one is available; otherwise, return... | {
"end_byte": 401126,
"start_byte": 392734,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_401131_404553 | enum ListFormat {
None = 0,
SingleLine = 0,
MultiLine = 1,
PreserveLines = 2,
LinesMask = 3,
NotDelimited = 0,
BarDelimited = 4,
AmpersandDelimited = 8,
CommaDelimited = 16,
AsteriskDelimited = 32,
DelimitersMask = 60,
Allow... | {
"end_byte": 404553,
"start_byte": 401131,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_404558_413032 | interface UserPreferences {
readonly disableSuggestions?: boolean;
readonly quotePreference?: "auto" | "double" | "single";
/**
* If enabled, TypeScript will search through all external modules' exports and add them to the completions list.
* This affects lone identifier comple... | {
"end_byte": 413032,
"start_byte": 404558,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_413037_421498 | interface System {
args: string[];
newLine: string;
useCaseSensitiveFileNames: boolean;
write(s: string): void;
writeOutputIsTTY?(): boolean;
getWidthOfTerminal?(): number;
readFile(path: string, encoding?: string): string | undefined;
getFileSize?(path: s... | {
"end_byte": 421498,
"start_byte": 413037,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_421503_429816 | function textChangeRangeIsUnchanged(range: TextChangeRange): boolean;
function createTextChangeRange(span: TextSpan, newLength: number): TextChangeRange;
/**
* Called to merge all the changes that occurred across several versions of a script snapshot
* into a single change. i.e. if a user keeps makin... | {
"end_byte": 429816,
"start_byte": 421503,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_429821_438550 | /**
* Gets the type node for the node if provided via JSDoc.
*
* @remarks The search includes any JSDoc param tag that relates
* to the provided parameter, for example a type tag on the
* parameter itself, or a param tag on a containing function
* expression, or a param tag on a variable d... | {
"end_byte": 438550,
"start_byte": 429821,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_438555_447029 | const unchangedTextChangeRange: TextChangeRange;
type ParameterPropertyDeclaration = ParameterDeclaration & {
parent: ConstructorDeclaration;
name: Identifier;
};
function isPartOfTypeNode(node: Node): boolean;
/**
* This function checks multiple locations for JSDoc comments that ap... | {
"end_byte": 447029,
"start_byte": 438555,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_447034_456024 | function isInferTypeNode(node: Node): node is InferTypeNode;
function isParenthesizedTypeNode(node: Node): node is ParenthesizedTypeNode;
function isThisTypeNode(node: Node): node is ThisTypeNode;
function isTypeOperatorNode(node: Node): node is TypeOperatorNode;
function isIndexedAccessTypeNode(node: N... | {
"end_byte": 456024,
"start_byte": 447034,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_456029_463756 | function isJSDocAllType(node: Node): node is JSDocAllType;
function isJSDocUnknownType(node: Node): node is JSDocUnknownType;
function isJSDocNullableType(node: Node): node is JSDocNullableType;
function isJSDocNonNullableType(node: Node): node is JSDocNonNullableType;
function isJSDocOptionalType(node:... | {
"end_byte": 463756,
"start_byte": 456029,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_463761_472860 | function parseJsonConfigFileContent(json: any, host: ParseConfigHost, basePath: string, existingOptions?: CompilerOptions, configFileName?: string, resolutionStack?: Path[], extraFileExtensions?: readonly FileExtensionInfo[], extendedConfigCache?: Map<string, ExtendedConfigCacheEntry>, existingWatchOptions?: WatchOptio... | {
"end_byte": 472860,
"start_byte": 463761,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_472865_481775 | /**
* Visits a Node using the supplied visitor, possibly returning a new Node in its place.
*
* - If the input node is undefined, then the output is undefined.
* - If the visitor returns undefined, then the output is undefined.
* - If the output node is not undefined, then it will satisfy the t... | {
"end_byte": 481775,
"start_byte": 472865,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_481780_490984 | function resolveTripleslashReference(moduleName: string, containingFile: string): string;
function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost;
function getPreEmitDiagnostics(program: Program, sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly Diag... | {
"end_byte": 490984,
"start_byte": 481780,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_490989_500605 | function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanticDiagnosticsBuilderProgram, configFileParsingDiagnostics?: readonly Diagnostic[]): EmitAndSemanticDiagnosticsBuilderProgram;
function createEmitAndSemanticDiagnosticsBuilderProgram(rootN... | {
"end_byte": 500605,
"start_byte": 490989,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_500610_510488 | interface WatchHost {
/** If provided, called with Diagnostic message that informs about change in watch status */
onWatchStatusChange?(diagnostic: Diagnostic, newLine: string, options: CompilerOptions, errorCount?: number): void;
/** Used to watch changes in source files, missing files needed t... | {
"end_byte": 510488,
"start_byte": 500610,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_510493_520418 | interface SolutionBuilderHostBase<T extends BuilderProgram> extends ProgramHost<T> {
createDirectory?(path: string): void;
/**
* Should provide create directory and writeFile if done of invalidatedProjects is not invoked with
* writeFileCallback
*/
writeFile?(path: str... | {
"end_byte": 520418,
"start_byte": 510493,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_520423_530317 | interface LanguageService {
/** This is used as a part of restarting the language service. */
cleanupSemanticCache(): void;
/**
* Gets errors indicating invalid syntax in a file.
*
* In English, "this cdeo have, erorrs" is syntactically invalid because it has typos,
... | {
"end_byte": 530317,
"start_byte": 520423,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_530326_539916 | getFormattingEditsAfterKeystroke(fileName: string, position: number, key: string, options: FormatCodeOptions | FormatCodeSettings): TextChange[];
getDocCommentTemplateAtPosition(fileName: string, position: number, options?: DocCommentTemplateOptions, formatOptions?: FormatCodeSettings): TextInsertion | undefine... | {
"end_byte": 539916,
"start_byte": 530326,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_539921_548905 | interface NavigationBarItem {
text: string;
kind: ScriptElementKind;
kindModifiers: string;
spans: TextSpan[];
childItems: NavigationBarItem[];
indent: number;
bolded: boolean;
grayed: boolean;
}
/**
* Node in a tree of nested declarations in ... | {
"end_byte": 548905,
"start_byte": 539921,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_548910_558503 | interface FormatCodeOptions extends EditorOptions {
InsertSpaceAfterCommaDelimiter: boolean;
InsertSpaceAfterSemicolonInForStatements: boolean;
InsertSpaceBeforeAndAfterBinaryOperators: boolean;
InsertSpaceAfterConstructor?: boolean;
InsertSpaceAfterKeywordsInControlFlowStatement... | {
"end_byte": 558503,
"start_byte": 548910,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_558508_567610 | type CompletionEntryData = CompletionEntryDataUnresolved | CompletionEntryDataResolved;
interface CompletionEntry {
name: string;
kind: ScriptElementKind;
kindModifiers?: string;
/**
* A string that is used for comparing completion items so that they can be ordered. This
... | {
"end_byte": 567610,
"start_byte": 558508,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_567615_574763 | enum ScriptElementKind {
unknown = "",
warning = "warning",
/** predefined type (void) or keyword (class) */
keyword = "keyword",
/** top level script node */
scriptElement = "script",
/** module foo {} */
moduleElement = "module",
/** class X {} *... | {
"end_byte": 574763,
"start_byte": 567615,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts_574768_582741 | interface DocumentRegistry {
/**
* Request a stored SourceFile with a given fileName and compilationSettings.
* The first call to acquire will call createLanguageServiceSourceFile to generate
* the SourceFile if was not found in the registry.
*
* @param fileName The ... | {
"end_byte": 582741,
"start_byte": 574768,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts"
} |
angular-cli/packages/schematics/angular/class/index.ts_0_528 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { Rule } from '@angular-devkit/schematics';
import { generateFromFiles } from '../utility/generate-from-files... | {
"end_byte": 528,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/class/index.ts"
} |
angular-cli/packages/schematics/angular/class/index_spec.ts_0_4230 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
import { Schema as Applicati... | {
"end_byte": 4230,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/class/index_spec.ts"
} |
angular-cli/packages/schematics/angular/class/files/__name@dasherize____type__.spec.ts.template_0_226 | import { <%= classify(name) %> } from './<%= dasherize(name) %><%= type %>';
describe('<%= classify(name) %>', () => {
it('should create an instance', () => {
expect(new <%= classify(name) %>()).toBeTruthy();
});
});
| {
"end_byte": 226,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/class/files/__name@dasherize____type__.spec.ts.template"
} |
angular-cli/packages/schematics/angular/class/files/__name@dasherize____type__.ts.template_0_39 | export class <%= classify(name) %> {
}
| {
"end_byte": 39,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/class/files/__name@dasherize____type__.ts.template"
} |
angular-cli/packages/schematics/angular/app-shell/index.ts_0_8684 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
Rule,
SchematicsException,
Tree,
chain,
noop,
schematic,
} from '@angular-devkit/schematics';
i... | {
"end_byte": 8684,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/app-shell/index.ts"
} |
angular-cli/packages/schematics/angular/app-shell/index.ts_8686_13379 | function addStandaloneServerRoute(options: AppShellOptions): Rule {
return async (host: Tree) => {
const workspace = await getWorkspace(host);
const project = workspace.projects.get(options.project);
if (!project) {
throw new SchematicsException(`Project name "${options.project}" doesn't not exist.`... | {
"end_byte": 13379,
"start_byte": 8686,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/app-shell/index.ts"
} |
angular-cli/packages/schematics/angular/app-shell/index_spec.ts_0_526 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { tags } from '@angular-devkit/core';
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/sche... | {
"end_byte": 526,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/app-shell/index_spec.ts"
} |
angular-cli/packages/schematics/angular/app-shell/index_spec.ts_528_9674 | describe('App Shell Schematic', () => {
const schematicRunner = new SchematicTestRunner(
'@schematics/angular',
require.resolve('../collection.json'),
);
const defaultOptions: AppShellOptions = {
project: 'bar',
serverRouting: true,
};
const workspaceOptions: WorkspaceOptions = {
name: 'w... | {
"end_byte": 9674,
"start_byte": 528,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/app-shell/index_spec.ts"
} |
angular-cli/packages/schematics/angular/application/index.ts_0_8638 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { JsonObject, join, normalize } from '@angular-devkit/core';
import {
MergeStrategy,
Rule,
SchematicCon... | {
"end_byte": 8638,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/index.ts"
} |
angular-cli/packages/schematics/angular/application/index.ts_8640_10302 | async function getAppOptions(
host: Tree,
options: ApplicationOptions,
): Promise<{
appDir: string;
appRootSelector: string;
componentOptions: Partial<ComponentOptions>;
folderName: string;
sourceDir: string;
}> {
const appRootSelector = `${options.prefix}-root`;
const componentOptions = getComponentO... | {
"end_byte": 10302,
"start_byte": 8640,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/index.ts"
} |
angular-cli/packages/schematics/angular/application/index_spec.ts_0_8354 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
import { parse as parseJson ... | {
"end_byte": 8354,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/index_spec.ts"
} |
angular-cli/packages/schematics/angular/application/index_spec.ts_8358_17322 | describe(`update package.json`, () => {
it(`should add build-angular to devDependencies`, async () => {
const tree = await schematicRunner.runSchematic('application', defaultOptions, workspaceTree);
const packageJson = JSON.parse(tree.readContent('package.json'));
expect(packageJson.devDependenci... | {
"end_byte": 17322,
"start_byte": 8358,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/index_spec.ts"
} |
angular-cli/packages/schematics/angular/application/index_spec.ts_17326_24651 | it(`should create kebab-case project folder names with PascalCase project name`, async () => {
const options: ApplicationOptions = { ...defaultOptions, name: 'MyCool' };
const tree = await schematicRunner.runSchematic('application', options, workspaceTree);
const exists = tree.exists('/projects/my-cool/tsc... | {
"end_byte": 24651,
"start_byte": 17326,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/index_spec.ts"
} |
angular-cli/packages/schematics/angular/application/index_spec.ts_24655_31521 | describe('standalone=false', () => {
it('should add the ngZoneEventCoalescing option by default', async () => {
const tree = await schematicRunner.runSchematic(
'application',
{
...defaultOptions,
standalone: false,
},
workspaceTree,
);
const co... | {
"end_byte": 31521,
"start_byte": 24655,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/index_spec.ts"
} |
angular-cli/packages/schematics/angular/application/files/module-files/src/main.ts.template_0_481 | <% if(!!viewEncapsulation) { %>import { ViewEncapsulation } from '@angular/core';
<% }%>import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
platformBrowserDynamic().bootstrapModule(AppModule, {
<% if(!experimentalZoneless) { %>ngZoneEventCoalescin... | {
"end_byte": 481,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/module-files/src/main.ts.template"
} |
angular-cli/packages/schematics/angular/application/files/module-files/src/app/app.component.spec.ts.template_0_1330 | <% if(experimentalZoneless) { %>import { provideExperimentalZonelessChangeDetection } from '@angular/core';
<% } %>import { TestBed } from '@angular/core/testing';<% if (routing) { %>
import { RouterModule } from '@angular/router';<% } %>
import { AppComponent } from './app.component';
describe('AppComponent', () => {... | {
"end_byte": 1330,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/module-files/src/app/app.component.spec.ts.template"
} |
angular-cli/packages/schematics/angular/application/files/module-files/src/app/app.component.ts.template_0_466 | import { Component } from '@angular/core';
@Component({
selector: '<%= selector %>',<% if(inlineTemplate) { %>
template: `
<h1>Welcome to {{title}}!</h1>
<% if (routing) {
%><router-outlet /><%
} %>
`,<% } else { %>
templateUrl: './app.component.html',<% } %>
standalone: false,<% if(inlineS... | {
"end_byte": 466,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/module-files/src/app/app.component.ts.template"
} |
angular-cli/packages/schematics/angular/application/files/module-files/src/app/app.module.ts.template_0_614 | import { NgModule<% if(experimentalZoneless) { %>, provideExperimentalZonelessChangeDetection<% } %> } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
<% if (routing) { %>
import { AppRoutingModule } from './app-routing.module';<% } %>
import { AppComponent } from './app.component';
@N... | {
"end_byte": 614,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/module-files/src/app/app.module.ts.template"
} |
angular-cli/packages/schematics/angular/application/files/standalone-files/src/main.ts.template_0_250 | import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';
bootstrapApplication(AppComponent, appConfig)
.catch((err) => console.error(err));
| {
"end_byte": 250,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/standalone-files/src/main.ts.template"
} |
angular-cli/packages/schematics/angular/application/files/standalone-files/src/app/app.component.spec.ts.template_0_1149 | <% if(experimentalZoneless) { %>import { provideExperimentalZonelessChangeDetection } from '@angular/core';
<% } %>import { TestBed } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
... | {
"end_byte": 1149,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/standalone-files/src/app/app.component.spec.ts.template"
} |
angular-cli/packages/schematics/angular/application/files/standalone-files/src/app/app.routes.ts.template_0_77 | import { Routes } from '@angular/router';
export const routes: Routes = [];
| {
"end_byte": 77,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/application/files/standalone-files/src/app/app.routes.ts.template"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.