1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | declare module 'clang-format' {
|
12 | import {ChildProcess} from 'child_process';
|
13 | import * as stream from 'stream';
|
14 | import * as vinyl from 'vinyl';
|
15 |
|
16 | type ClangFormatStyle = 'llvm'|'google'|'chromium'|'mozilla'|'webkit'|'file';
|
17 |
|
18 | namespace ClangFormat {
|
19 | function spawnClangFormat(args: string[], done: () => void, stdio: any):
|
20 | ChildProcess;
|
21 | }
|
22 | function ClangFormat(
|
23 | file: vinyl,
|
24 | enc: string,
|
25 | style: ClangFormatStyle,
|
26 | done: (err?: any) => void): stream.Readable;
|
27 |
|
28 | export = ClangFormat;
|
29 | } |
\ | No newline at end of file |