flow: add libdefs for deep-freeze (#1310)

Summary:
This dependency was added in #1249 without typedefs, and so is
implicitly `any`-typed.

Depends on #1309 to fix a bug that would otherwise be a true positive
type error.

Addresses part of #1308.

Generated with `flow-typed install deep-freeze@0.0.1`.

Test Plan:
Running `yarn flow` passes, but fails if you remove the `nodePrefix` or
`edgePrefix` attributes of the Discourse plugin declaration.

wchargin-branch: libdefs-deep-freeze
This commit is contained in:
William Chargin 2019-08-22 08:57:16 -07:00 committed by GitHub
parent 0367c9e50c
commit 141a0a23d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
flow-typed/npm/deep-freeze_v0.0.1.js vendored Normal file
View File

@ -0,0 +1,6 @@
// flow-typed signature: dd48a9b9eb482a63ddb9915bdeefacee
// flow-typed version: c6154227d1/deep-freeze_v0.0.1/flow_>=v0.104.x
declare module 'deep-freeze' {
declare module.exports: <T>(o: T) => T;
}