File tree 2 files changed +1
-30
lines changed
2 files changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -9,30 +9,6 @@ export const isFileFormat: Predicate<FileFormat> = is.LiteralOneOf(
9
9
[ "unix" , "dos" , "mac" ] as const ,
10
10
) ;
11
11
12
- /**
13
- * Assert that the value is FileFormat.
14
- *
15
- * @deprecated Use `assert` function of `unknownutil` instead.
16
- */
17
- export const assertFileFormat = ( v : unknown ) : asserts v is FileFormat =>
18
- assert ( v , isFileFormat ) ;
19
-
20
- /**
21
- * Ensure that the value is FileFormat.
22
- *
23
- * @deprecated Use `ensure` function of `unknownutil` instead.
24
- */
25
- export const ensureFileFormat = ( v : unknown ) : FileFormat =>
26
- ensure ( v , isFileFormat ) ;
27
-
28
- /**
29
- * Maybe that the value is FileFormat.
30
- *
31
- * @deprecated Use `maybe` function of `unknownutil` instead.
32
- */
33
- export const maybeFileFormat = ( v : unknown ) : FileFormat | undefined =>
34
- maybe ( v , isFileFormat ) ;
35
-
36
12
const fileFormatDelimiters = {
37
13
unix : "\n" ,
38
14
dos : "\r\n" ,
Original file line number Diff line number Diff line change 54
54
*/
55
55
export * from "./buffer.ts" ;
56
56
export * from "./decoration.ts" ;
57
- export {
58
- assertFileFormat ,
59
- ensureFileFormat ,
60
- isFileFormat ,
61
- maybeFileFormat ,
62
- } from "./fileformat.ts" ;
57
+ export { isFileFormat } from "./fileformat.ts" ;
63
58
export type { FileFormat } from "./fileformat.ts" ;
You can’t perform that action at this time.
0 commit comments