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" />
|
9 | import * as ts from 'typescript';
|
10 | import { Compiler } from 'webpack';
|
11 | export type InputFileSystem = Compiler['inputFileSystem'];
|
12 | export 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 | }
|
21 | export declare function createWebpackSystem(input: InputFileSystemSync, currentDirectory: string): ts.System;
|