Phase 1 PWA: prayer times, qibla, quran, hijri, tasbih, 99 names
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import { PropertyKey } from './isPropertyKey';
|
||||
|
||||
type GoodMethodKey<O, K extends PropertyKey> =
|
||||
K extends keyof O
|
||||
? (O[K] extends Function | null | undefined ? K : never)
|
||||
: K;
|
||||
|
||||
declare function GetMethod<O extends {}, K extends PropertyKey>(
|
||||
V: O,
|
||||
P: K & GoodMethodKey<O, K>,
|
||||
): Function | undefined;
|
||||
|
||||
export = GetMethod;
|
||||
Reference in New Issue
Block a user