UNPKG

724 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <reference types="node" />
9import * as ts from 'typescript';
10import { Compiler } from 'webpack';
11export declare type InputFileSystem = Compiler['inputFileSystem'];
12export interface InputFileSystemSync extends InputFileSystem {
13 readFileSync(path: string): Buffer;
14 statSync(path: string): {
15 size: number;
16 mtime: Date;
17 isDirectory(): boolean;
18 isFile(): boolean;
19 };
20}
21export declare function createWebpackSystem(input: InputFileSystemSync, currentDirectory: string): ts.System;