parse.d.ts 371 B

12345678
  1. /// <reference types="node" />
  2. import { PathOrFileDescriptor } from "fs";
  3. import { PlistJsObj, StringOrBuffer } from "./types";
  4. /**
  5. * Detects the format of the given string or buffer, then attempts to parse the
  6. * payload using the appropriate tooling.
  7. */
  8. export declare function parse<T = PlistJsObj>(aStringOrBuffer: StringOrBuffer, aFile?: PathOrFileDescriptor): T;