DefinitelyTyped/types/rfc2047/index.d.ts
2017-10-22 15:22:50 -07:00

19 lines
476 B
TypeScript

// Type definitions for rfc2047 2.0
// Project: https://github.com/One-com/rfc2047
// Definitions by: Masanori Ohgita <https://github.com/mugifly>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Decode
* @param encodedText Encoded Text
* @return Decoded Text
*/
export function decode(encodedText: string): string;
/**
* Encode
* @param decodedText Decoded Text
* @return Encoded Text
*/
export function encode(decodedText: string): string;