(msg: string, vm?: Vue)
| 99 | } |
| 100 | |
| 101 | export function warn(msg: string, vm?: Vue) { |
| 102 | const Vue = getRegisteredVueOrDefault() |
| 103 | if (!Vue || !Vue.util) console.warn(`[vue-composition-api] ${msg}`) |
| 104 | else Vue.util.warn(msg, vm) |
| 105 | } |
| 106 | |
| 107 | export function logError(err: Error, vm: Vue, info: string) { |
| 108 | if (__DEV__) { |
no test coverage detected
searching dependent graphs…