source: frontend/node_modules/memfs/lib/encoding.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 350 bytes
RevLine 
[9af201e]1/// <reference types="node" />
2export type TDataOut = string | Buffer;
3export type TEncodingExtended = BufferEncoding | 'buffer';
4export declare const ENCODING_UTF8: BufferEncoding;
5export declare function assertEncoding(encoding: string | undefined): void;
6export declare function strToEncoding(str: string, encoding?: TEncodingExtended): TDataOut;
Note: See TracBrowser for help on using the repository browser.