@modern-js/types
Advanced tools
Comparing version 0.0.0-next-20240815081753 to 0.0.0-next-20240816011843
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "0.0.0-next-20240815081753", | ||
"version": "0.0.0-next-20240816011843", | ||
"types": "./index.d.ts", | ||
@@ -49,4 +49,4 @@ "exports": { | ||
"type-fest": "2.15.0", | ||
"@scripts/build": "0.0.0-next-20240815081753", | ||
"@scripts/jest-config": "0.0.0-next-20240815081753" | ||
"@scripts/build": "0.0.0-next-20240816011843", | ||
"@scripts/jest-config": "0.0.0-next-20240816011843" | ||
}, | ||
@@ -53,0 +53,0 @@ "sideEffects": false, |
@@ -1,2 +0,1 @@ | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
interface REACT_STATICS { | ||
@@ -16,3 +15,2 @@ childContextTypes: true; | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
interface KNOWN_STATICS { | ||
@@ -28,3 +26,2 @@ name: true; | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
interface MEMO_STATICS { | ||
@@ -39,3 +36,2 @@ $$typeof: true; | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
interface FORWARD_REF_STATICS { | ||
@@ -53,3 +49,2 @@ $$typeof: true; | ||
[key: string]: true; | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
} = {}, | ||
@@ -62,4 +57,4 @@ > = { | ||
: S extends React.ForwardRefExoticComponent<any> | ||
? keyof FORWARD_REF_STATICS | keyof C | ||
: keyof REACT_STATICS | keyof KNOWN_STATICS | keyof C | ||
? keyof FORWARD_REF_STATICS | keyof C | ||
: keyof REACT_STATICS | keyof KNOWN_STATICS | keyof C | ||
>]: S[key]; | ||
@@ -74,3 +69,2 @@ }; | ||
[key: string]: true; | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
} = {}, | ||
@@ -77,0 +71,0 @@ >( |
import { RequestPayload } from './context'; | ||
interface Set<V extends Record<string>> { | ||
// eslint-disable-next-line @typescript-eslint/prefer-function-type | ||
<Key extends keyof V>(key: Key, value: V[Key]): void; | ||
@@ -9,3 +8,2 @@ } | ||
interface Get<V extends Record<string, unknown>> { | ||
// eslint-disable-next-line @typescript-eslint/prefer-function-type | ||
<Key extends keyof V>(key: Key): V[Key]; | ||
@@ -12,0 +10,0 @@ } |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable @typescript-eslint/method-signature-style */ | ||
/** Monitor Events */ | ||
@@ -3,0 +2,0 @@ export type LogLevel = 'warn' | 'error' | 'debug' | 'info'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24182
736