Skip to content

Commit

Permalink
fix: 引号
Browse files Browse the repository at this point in the history
  • Loading branch information
wszgrcy committed Nov 21, 2023
1 parent 433b380 commit f84b464
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/transform/compiler-cli/src/ngtsc/diagnostics/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* found in the LICENSE file at https://angular.io/license
*/

import * as ts from "typescript";
import * as ts from 'typescript';

import { ErrorCode, ngErrorCode } from "./error_code";
import { ErrorCode, ngErrorCode } from './error_code';

export class FatalDiagnosticError {
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export enum ErrorCode {
* Keep this value in sync with a similar const in
* `packages/core/src/render3/error_code.ts`.
*/
export const ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
export const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';

/**
* @internal
Expand All @@ -234,5 +234,5 @@ export const COMPILER_ERRORS_WITH_GUIDES = new Set([
* @internal
*/
export function ngErrorCode(code: ErrorCode): number {
return parseInt("-99" + code);
return parseInt('-99' + code);
}
2 changes: 1 addition & 1 deletion src/transform/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./injectable-transform";
export * from './injectable-transform';

0 comments on commit f84b464

Please sign in to comment.