add notch declaration
This commit is contained in:
13
doric-js/index.d.ts
vendored
13
doric-js/index.d.ts
vendored
@@ -101,6 +101,7 @@ declare module 'doric/lib/src/native/index.native' {
|
||||
export * from 'doric/lib/src/native/notification';
|
||||
export * from 'doric/lib/src/native/statusbar';
|
||||
export * from 'doric/lib/src/native/coordinator';
|
||||
export * from 'doric/lib/src/native/notch';
|
||||
}
|
||||
|
||||
declare module 'doric/lib/src/util/index.util' {
|
||||
@@ -1023,6 +1024,18 @@ declare module 'doric/lib/src/native/coordinator' {
|
||||
};
|
||||
}
|
||||
|
||||
declare module 'doric/lib/src/native/notch' {
|
||||
import { BridgeContext } from "doric/lib/src/runtime/global";
|
||||
export function notch(context: BridgeContext): {
|
||||
inset: () => Promise<{
|
||||
top: number;
|
||||
left: number;
|
||||
bottom: number;
|
||||
right: number;
|
||||
}>;
|
||||
};
|
||||
}
|
||||
|
||||
declare module 'doric/lib/src/util/color' {
|
||||
import { Modeling } from "doric/lib/src/util/types";
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user