Commit 6cc198bf authored by Sangjune Bae's avatar Sangjune Bae
Browse files

first commit

parent 81c6da4b
{
"name": "@restart/hooks/useTimeout",
"private": true,
"main": "../cjs/useTimeout.js",
"module": "../esm/useTimeout.js",
"types": "../esm/useTimeout.d.ts"
}
{
"name": "@restart/hooks/useUpdateEffect",
"private": true,
"main": "../cjs/useUpdateEffect.js",
"module": "../esm/useUpdateEffect.js",
"types": "../esm/useUpdateEffect.d.ts"
}
{
"name": "@restart/hooks/useUpdatedRef",
"private": true,
"main": "../cjs/useUpdatedRef.js",
"module": "../esm/useUpdatedRef.js",
"types": "../esm/useUpdatedRef.d.ts"
}
{
"name": "@restart/hooks/useWillUnmount",
"private": true,
"main": "../cjs/useWillUnmount.js",
"module": "../esm/useWillUnmount.js",
"types": "../esm/useWillUnmount.d.ts"
}
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
# Installation
> `npm install --save @types/classnames`
# Summary
This package contains type definitions for classnames (https://github.com/JedWatson/classnames).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/classnames.
### Additional Details
* Last updated: Wed, 28 Oct 2020 18:21:12 GMT
* Dependencies: none
* Global values: `classNames`
# Credits
These definitions were written by [Dave Keen](http://www.keendevelopment.ch), [Adi Dahiya](https://github.com/adidahiya), [Jason Killian](https://github.com/JKillian), [Michal Adamczyk](https://github.com/mradamczyk), [Marvin Hagemeister](https://github.com/marvinhagemeister), [Josh McCullough](https://github.com/joshmccullough), and [uhyo](https://github.com/uhyo).
import { ClassNamesFn } from './types';
interface ClassNamesBind extends ClassNamesFn {
bind(styles: Record<string, string>): ClassNamesFn;
}
type ClassNamesBindExport = ClassNamesBind & {
default: ClassNamesBind;
};
declare const classNamesBind: ClassNamesBindExport;
export = classNamesBind;
import { ClassNamesExport } from './types';
declare const classNamesDedupe: ClassNamesExport;
export = classNamesDedupe;
// Type definitions for classnames 2.2
// Project: https://github.com/JedWatson/classnames
// Definitions by: Dave Keen <http://www.keendevelopment.ch>
// Adi Dahiya <https://github.com/adidahiya>
// Jason Killian <https://github.com/JKillian>
// Michal Adamczyk <https://github.com/mradamczyk>
// Marvin Hagemeister <https://github.com/marvinhagemeister>
// Josh McCullough <https://github.com/joshmccullough>
// uhyo <https://github.com/uhyo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { ClassValue, ClassNamesExport } from './types';
declare const classNames: ClassNamesExport;
export = classNames;
export as namespace classNames;
{
"_from": "@types/classnames@^2.2.10",
"_id": "@types/classnames@2.2.11",
"_inBundle": false,
"_integrity": "sha512-2koNhpWm3DgWRp5tpkiJ8JGc1xTn2q0l+jUNUE7oMKXUf5NpI9AIdC4kbjGNFBdHtcxBD18LAksoudAVhFKCjw==",
"_location": "/@types/classnames",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@types/classnames@^2.2.10",
"name": "@types/classnames",
"escapedName": "@types%2fclassnames",
"scope": "@types",
"rawSpec": "^2.2.10",
"saveSpec": null,
"fetchSpec": "^2.2.10"
},
"_requiredBy": [
"/react-bootstrap"
],
"_resolved": "https://registry.npmjs.org/@types/classnames/-/classnames-2.2.11.tgz",
"_shasum": "2521cc86f69d15c5b90664e4829d84566052c1cf",
"_spec": "@types/classnames@^2.2.10",
"_where": "C:\\Users\\reyel\\OneDrive\\바탕 화면\\2020winter\\search-page\\node_modules\\react-bootstrap",
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Dave Keen",
"url": "http://www.keendevelopment.ch"
},
{
"name": "Adi Dahiya",
"url": "https://github.com/adidahiya"
},
{
"name": "Jason Killian",
"url": "https://github.com/JKillian"
},
{
"name": "Michal Adamczyk",
"url": "https://github.com/mradamczyk"
},
{
"name": "Marvin Hagemeister",
"url": "https://github.com/marvinhagemeister"
},
{
"name": "Josh McCullough",
"url": "https://github.com/joshmccullough"
},
{
"name": "uhyo",
"url": "https://github.com/uhyo"
}
],
"dependencies": {},
"deprecated": false,
"description": "TypeScript definitions for classnames",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
"license": "MIT",
"main": "",
"name": "@types/classnames",
"repository": {
"type": "git",
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/classnames"
},
"scripts": {},
"typeScriptVersion": "3.2",
"types": "index.d.ts",
"typesPublisherContentHash": "75f14e50e69a3ec6cfcb264596f2136fc45fa15df4071b1364156a01372bc676",
"version": "2.2.11"
}
// This is the only way I found to break circular references between ClassArray and ClassValue
// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540
export interface ClassArray extends Array<ClassValue> {}
export interface ClassDictionary {
[id: string]: any;
}
export type ClassValue = string | number | ClassDictionary | ClassArray | undefined | null | boolean;
export type ClassNamesFn = (...classes: ClassValue[]) => string;
export type ClassNamesExport = ClassNamesFn & { default: ClassNamesFn };
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
# Installation
> `npm install --save @types/invariant`
# Summary
This package contains type definitions for invariant (https://github.com/zertosh/invariant).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/invariant.
### Additional Details
* Last updated: Tue, 01 Sep 2020 20:30:58 GMT
* Dependencies: none
* Global values: `invariant`
# Credits
These definitions were written by [MichaelBennett](https://github.com/bennett000), [dtinth](https://github.com/dtinth), and [Turadg Aleahmad](https://github.com/turadg).
// Type definitions for invariant 2.2
// Project: https://github.com/zertosh/invariant
// Definitions by: MichaelBennett <https://github.com/bennett000>
// dtinth <https://github.com/dtinth>
// Turadg Aleahmad <https://github.com/turadg>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare let invariant: invariant.InvariantStatic;
export = invariant;
export as namespace invariant;
declare namespace invariant {
interface InvariantStatic {
(testValue: false, format: string, ...extra: any[]): never;
(testValue: any, format: string, ...extra: any[]): asserts testValue;
}
}
{
"_from": "@types/invariant@^2.2.33",
"_id": "@types/invariant@2.2.34",
"_inBundle": false,
"_integrity": "sha512-lYUtmJ9BqUN688fGY1U1HZoWT1/Jrmgigx2loq4ZcJpICECm/Om3V314BxdzypO0u5PORKGMM6x0OXaljV1YFg==",
"_location": "/@types/invariant",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@types/invariant@^2.2.33",
"name": "@types/invariant",
"escapedName": "@types%2finvariant",
"scope": "@types",
"rawSpec": "^2.2.33",
"saveSpec": null,
"fetchSpec": "^2.2.33"
},
"_requiredBy": [
"/react-bootstrap"
],
"_resolved": "https://registry.npmjs.org/@types/invariant/-/invariant-2.2.34.tgz",
"_shasum": "05e4f79f465c2007884374d4795452f995720bbe",
"_spec": "@types/invariant@^2.2.33",
"_where": "C:\\Users\\reyel\\OneDrive\\바탕 화면\\2020winter\\search-page\\node_modules\\react-bootstrap",
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "MichaelBennett",
"url": "https://github.com/bennett000"
},
{
"name": "dtinth",
"url": "https://github.com/dtinth"
},
{
"name": "Turadg Aleahmad",
"url": "https://github.com/turadg"
}
],
"dependencies": {},
"deprecated": false,
"description": "TypeScript definitions for invariant",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
"license": "MIT",
"main": "",
"name": "@types/invariant",
"repository": {
"type": "git",
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/invariant"
},
"scripts": {},
"typeScriptVersion": "3.1",
"types": "index.d.ts",
"typesPublisherContentHash": "e7bffa1dc470ca192b64f5b8b02f0ae83226a84e9dab2beb841e2fb5647451e1",
"typesVersions": {
"<=3.6": {
"*": [
"ts3.6/*"
]
}
},
"version": "2.2.34"
}
declare let invariant:invariant.InvariantStatic;
export = invariant;
export as namespace invariant;
declare namespace invariant {
interface InvariantStatic {
(testValue:false, format:string, ...extra:any[]):never;
(testValue:any, format:string, ...extra:any[]):void;
}
}
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
# Installation
> `npm install --save @types/prop-types`
# Summary
This package contains type definitions for prop-types (https://github.com/reactjs/prop-types).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types
Additional Details
* Last updated: Tue, 24 Sep 2019 20:14:29 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by DovydasNavickas <https://github.com/DovydasNavickas>, Ferdy Budhidharma <https://github.com/ferdaber>, and Sebastian Silbermann <https://github.com/eps1lon>.
// Type definitions for prop-types 15.7
// Project: https://github.com/reactjs/prop-types, https://facebook.github.io/react
// Definitions by: DovydasNavickas <https://github.com/DovydasNavickas>
// Ferdy Budhidharma <https://github.com/ferdaber>
// Sebastian Silbermann <https://github.com/eps1lon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
export type ReactComponentLike =
| string
| ((props: any, context?: any) => any)
| (new (props: any, context?: any) => any);
export interface ReactElementLike {
type: ReactComponentLike;
props: any;
key: string | number | null;
}
export interface ReactNodeArray extends Array<ReactNodeLike> {}
export type ReactNodeLike =
| {}
| ReactElementLike
| ReactNodeArray
| string
| number
| boolean
| null
| undefined;
export const nominalTypeHack: unique symbol;
export type IsOptional<T> = undefined extends T ? true : false;
export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer T> ? IsOptional<T> extends true ? never : K : never }[keyof V];
export type OptionalKeys<V> = Exclude<keyof V, RequiredKeys<V>>;
export type InferPropsInner<V> = { [K in keyof V]-?: InferType<V[K]>; };
export interface Validator<T> {
(props: { [key: string]: any }, propName: string, componentName: string, location: string, propFullName: string): Error | null;
[nominalTypeHack]?: {
type: T;
};
}
export interface Requireable<T> extends Validator<T | undefined | null> {
isRequired: Validator<NonNullable<T>>;
}
export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> };
export type InferType<V> = V extends Validator<infer T> ? T : any;
export type InferProps<V> =
& InferPropsInner<Pick<V, RequiredKeys<V>>>
& Partial<InferPropsInner<Pick<V, OptionalKeys<V>>>>;
export const any: Requireable<any>;
export const array: Requireable<any[]>;
export const bool: Requireable<boolean>;
export const func: Requireable<(...args: any[]) => any>;
export const number: Requireable<number>;
export const object: Requireable<object>;
export const string: Requireable<string>;
export const node: Requireable<ReactNodeLike>;
export const element: Requireable<ReactElementLike>;
export const symbol: Requireable<symbol>;
export const elementType: Requireable<ReactComponentLike>;
export function instanceOf<T>(expectedClass: new (...args: any[]) => T): Requireable<T>;
export function oneOf<T>(types: ReadonlyArray<T>): Requireable<T>;
export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<T>>>;
export function arrayOf<T>(type: Validator<T>): Requireable<T[]>;
export function objectOf<T>(type: Validator<T>): Requireable<{ [K in keyof any]: T; }>;
export function shape<P extends ValidationMap<any>>(type: P): Requireable<InferProps<P>>;
export function exact<P extends ValidationMap<any>>(type: P): Requireable<Required<InferProps<P>>>;
/**
* Assert that the values match with the type specs.
* Error messages are memorized and will only be shown once.
*
* @param typeSpecs Map of name to a ReactPropType
* @param values Runtime values that need to be type-checked
* @param location e.g. "prop", "context", "child context"
* @param componentName Name of the component for error messages
* @param getStack Returns the component stack
*/
export function checkPropTypes(typeSpecs: any, values: any, location: string, componentName: string, getStack?: () => any): void;
/**
* Only available if NODE_ENV=production
*/
export function resetWarningCache(): void;
{
"_from": "@types/prop-types@^15.7.3",
"_id": "@types/prop-types@15.7.3",
"_inBundle": false,
"_integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==",
"_location": "/@types/prop-types",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@types/prop-types@^15.7.3",
"name": "@types/prop-types",
"escapedName": "@types%2fprop-types",
"scope": "@types",
"rawSpec": "^15.7.3",
"saveSpec": null,
"fetchSpec": "^15.7.3"
},
"_requiredBy": [
"/@types/react",
"/react-bootstrap"
],
"_resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
"_shasum": "2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7",
"_spec": "@types/prop-types@^15.7.3",
"_where": "C:\\Users\\reyel\\OneDrive\\바탕 화면\\2020winter\\search-page\\node_modules\\react-bootstrap",
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "DovydasNavickas",
"url": "https://github.com/DovydasNavickas"
},
{
"name": "Ferdy Budhidharma",
"url": "https://github.com/ferdaber"
},
{
"name": "Sebastian Silbermann",
"url": "https://github.com/eps1lon"
}
],
"dependencies": {},
"deprecated": false,
"description": "TypeScript definitions for prop-types",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
"license": "MIT",
"main": "",
"name": "@types/prop-types",
"repository": {
"type": "git",
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/prop-types"
},
"scripts": {},
"typeScriptVersion": "2.8",
"types": "index",
"typesPublisherContentHash": "09cbaa49bc0d7139a168388028da20f8772c641a1e83848ef2cdcd0f91c7ee79",
"version": "15.7.3"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment