Add @flow comment to flow-typed files

This commit is contained in:
Gregory Schier committed 2018-06-28 17:16:18 -04:00
1 parent 7459e84759
commit 17df94d4ec
34 files changed
+68

No files matched your search

@@ -1,3 +1,5 @@
// @flow
declare module 'autobind-decorator' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'aws4' {
declare module.exports: {
sign: (
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'classnames' {
declare module.exports: (...args: Array<any>) => Object;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'clone' {
declare module.exports: <T>(value: T) => T;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'codemirror' {
declare class TextMarker {
clear(): void;
@@ -1,3 +1,5 @@
// @flow
declare module 'electron-squirrel-startup' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'electron' {
declare module.exports: {
remote: {
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'fs-extra' {
declare module.exports: {
moveSync: (
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'graphql' {
declare type Tok = {
column: number,
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'hawk' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'iconv-lite' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'insomnia-cookies' {
declare module.exports: {
cookieToString: Function,
@@ -1,3 +1,5 @@
// @flow
declare module 'insomnia-importers' {
declare module.exports: {
convert: (
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare class Curl {
static getVersion: () => string;
static feature: {
@@ -1,3 +1,5 @@
// @flow
import type { PluginTemplateTag } from '../app/templating/extensions/index';
declare module 'insomnia-plugin-hash' {
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'insomnia-prettify' {
declare module.exports: {
json: Function
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'insomnia-url' {
declare module.exports: {
setDefaultProtocol: Function,
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'jsonpath' {
declare module.exports: {
query: Function
@@ -1,3 +1,5 @@
// @flow
declare module 'jwt-authentication' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'mime-types' {
declare module.exports: {
lookup: (fileName: string) => string,
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'mkdirp' {
declare module.exports: {
sync: (path: string) => void
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare type moment = {
fromNow: () => string,
format: (fmt: string) => string
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'multiparty' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare class NeDB {
constructor(config: Object): NeDB;
persistence: {
+2
View File
@@ -1,3 +1,5 @@
// @flow
type NunjucksConfig = {
autoescape: boolean,
throwOnUndefined: boolean,
+2
View File
@@ -1,3 +1,5 @@
// @flow
type SignatureMethod = 'HMAC-SHA1' | 'RSA-SHA1' | 'PLAINTEXT';
type Token = { key: string, secret?: string };
type RequestData = {
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'papaparse' {
declare module.exports: {
parse: Function
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'pdfjs-dist/webpack' {
declare module.exports: *;
}
@@ -1,3 +1,5 @@
// @flow
import * as React from 'react';
declare module 'react-sortable-hoc' {
+2
View File
@@ -1,3 +1,5 @@
// @flow
import * as React from 'react';
declare module 'react-tabs' {
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'reselect' {
declare module.exports: {
createSelector: Function
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'tough-cookie' {
declare module.exports: *;
}
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'uuid' {
declare module.exports: {
v4: () => string,
+2
View File
@@ -1,3 +1,5 @@
// @flow
declare module 'xmldom' {
declare module.exports: {
DOMParser: Function