mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-26 08:38:58 -04:00
Add @flow comment to flow-typed files
This commit is contained in:
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
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'aws4' {
|
||||
declare module.exports: {
|
||||
sign: (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'classnames' {
|
||||
declare module.exports: (...args: Array<any>) => Object;
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'clone' {
|
||||
declare module.exports: <T>(value: T) => T;
|
||||
}
|
||||
@@ -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: *;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'electron' {
|
||||
declare module.exports: {
|
||||
remote: {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'fs-extra' {
|
||||
declare module.exports: {
|
||||
moveSync: (
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'graphql' {
|
||||
declare type Tok = {
|
||||
column: number,
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'hawk' {
|
||||
declare module.exports: *;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'iconv-lite' {
|
||||
declare module.exports: *;
|
||||
}
|
||||
@@ -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: (
|
||||
|
||||
@@ -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' {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'insomnia-prettify' {
|
||||
declare module.exports: {
|
||||
json: Function
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'insomnia-url' {
|
||||
declare module.exports: {
|
||||
setDefaultProtocol: Function,
|
||||
|
||||
@@ -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: *;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'mime-types' {
|
||||
declare module.exports: {
|
||||
lookup: (fileName: string) => string,
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'mkdirp' {
|
||||
declare module.exports: {
|
||||
sync: (path: string) => void
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare type moment = {
|
||||
fromNow: () => string,
|
||||
format: (fmt: string) => string
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'multiparty' {
|
||||
declare module.exports: *;
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare class NeDB {
|
||||
constructor(config: Object): NeDB;
|
||||
persistence: {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
type NunjucksConfig = {
|
||||
autoescape: boolean,
|
||||
throwOnUndefined: boolean,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
type SignatureMethod = 'HMAC-SHA1' | 'RSA-SHA1' | 'PLAINTEXT';
|
||||
type Token = { key: string, secret?: string };
|
||||
type RequestData = {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'papaparse' {
|
||||
declare module.exports: {
|
||||
parse: Function
|
||||
|
||||
@@ -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' {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
|
||||
declare module 'react-tabs' {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'reselect' {
|
||||
declare module.exports: {
|
||||
createSelector: Function
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'tough-cookie' {
|
||||
declare module.exports: *;
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'uuid' {
|
||||
declare module.exports: {
|
||||
v4: () => string,
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
declare module 'xmldom' {
|
||||
declare module.exports: {
|
||||
DOMParser: Function
|
||||
|
||||
Reference in new issue
Block a user