diff --git a/desktop/types/json-format-highlight.d.ts b/desktop/types/json-format-highlight.d.ts new file mode 100644 index 000000000..02359c36f --- /dev/null +++ b/desktop/types/json-format-highlight.d.ts @@ -0,0 +1,21 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +declare module 'json-format-highlight' { + export interface ColorOptions { + keyColor?: string; + numberColor?: string; + stringColor?: string; + trueColor?: string; + falseColor?: string; + nullColor?: string; + } + + export default function (json: any, colorOptions?: ColorOptions); +}