aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-serializer/build/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/jest-serializer/build/index.d.ts')
-rw-r--r--node_modules/jest-serializer/build/index.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/jest-serializer/build/index.d.ts b/node_modules/jest-serializer/build/index.d.ts
new file mode 100644
index 0000000..af6694e
--- /dev/null
+++ b/node_modules/jest-serializer/build/index.d.ts
@@ -0,0 +1,20 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+/// <reference path="../v8.d.ts" />
+/// <reference types="node" />
+declare type Path = string;
+export declare function deserialize(buffer: Buffer): unknown;
+export declare function serialize(content: unknown): Buffer;
+export declare function readFileSync(filePath: Path): unknown;
+export declare function writeFileSync(filePath: Path, content: unknown): void;
+declare const _default: {
+ deserialize: typeof deserialize;
+ readFileSync: typeof readFileSync;
+ serialize: typeof serialize;
+ writeFileSync: typeof writeFileSync;
+};
+export default _default;