chore: fix dts
This commit is contained in:
parent
3db29eb773
commit
d71c488540
@ -343,9 +343,6 @@ const deprecationData: Record<DeprecationTypes, DeprecationData> = {
|
|||||||
const instanceWarned: Record<string, true> = Object.create(null)
|
const instanceWarned: Record<string, true> = Object.create(null)
|
||||||
const warnCount: Record<string, number> = Object.create(null)
|
const warnCount: Record<string, number> = Object.create(null)
|
||||||
|
|
||||||
/**
|
|
||||||
* @internal
|
|
||||||
*/
|
|
||||||
export function warnDeprecation(key: DeprecationTypes, ...args: any[]) {
|
export function warnDeprecation(key: DeprecationTypes, ...args: any[]) {
|
||||||
if (!__DEV__) {
|
if (!__DEV__) {
|
||||||
return
|
return
|
||||||
|
@ -297,6 +297,9 @@ const _compatUtils = {
|
|||||||
softAssertCompatEnabled
|
softAssertCompatEnabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal only exposed in compat builds.
|
||||||
|
*/
|
||||||
export const compatUtils = (__COMPAT__
|
export const compatUtils = (__COMPAT__
|
||||||
? _compatUtils
|
? _compatUtils
|
||||||
: null) as typeof _compatUtils
|
: null) as typeof _compatUtils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user