()
| 222 | > = FunctionPlugin<P> | ObjectPlugin<P> |
| 223 | |
| 224 | export function createAppContext(): AppContext { |
| 225 | return { |
| 226 | app: null as any, |
| 227 | config: { |
| 228 | isNativeTag: NO, |
| 229 | performance: false, |
| 230 | globalProperties: {}, |
| 231 | optionMergeStrategies: {}, |
| 232 | errorHandler: undefined, |
| 233 | warnHandler: undefined, |
| 234 | compilerOptions: {}, |
| 235 | }, |
| 236 | mixins: [], |
| 237 | components: {}, |
| 238 | directives: {}, |
| 239 | provides: Object.create(null), |
| 240 | optionsCache: new WeakMap(), |
| 241 | propsCache: new WeakMap(), |
| 242 | emitsCache: new WeakMap(), |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | export type CreateAppFunction<HostElement> = ( |
| 247 | rootComponent: Component, |
no outgoing calls
no test coverage detected