()
| 90 | > |
| 91 | // implementation |
| 92 | export function defineProps() { |
| 93 | if (__DEV__) { |
| 94 | warnRuntimeUsage(`defineProps`) |
| 95 | } |
| 96 | return null as any |
| 97 | } |
| 98 | |
| 99 | export type DefineProps<T, BKeys extends keyof T> = Readonly<T> & { |
| 100 | readonly [K in BKeys]-?: boolean |