wonderful-panda

Results 11 comments of wonderful-panda

This code works with [email protected] (with [email protected] or 4.3.5) Can you show me a minimal reproduction ? ```typescript import { Component, Prop } from "vue-property-decorator"; import * as vuetsx from...

Currently, async components are not supported. As a workaround, you can let async components pretend normal component like below. ```typescript export function pretendNormalComponent( factory: () => A ): A extends...

Leave this issue opened until async component will be supported formally.

Yes, that does not work. As a workaround, you must specify return type explicitly for vue-tsx-support (V2) ```typescript import Vue from "vue"; import * as tsx from "vue-tsx-support"; function select(predicate:...

Currently not supported. We must specify types manually. ```typescript import Vue from "vue"; import Component, { mixins } from "vue-class-component"; import { Prop } from "vue-property-decorator"; import * as tsx...

![image](https://user-images.githubusercontent.com/1205852/72892059-f7153500-3d58-11ea-99e0-ed64d0dca1b6.png) ![image](https://user-images.githubusercontent.com/1205852/72892127-1f9d2f00-3d59-11ea-92c7-2dfb9007d235.png) Seems to be working. Can you show me minimal reproducible example ?

3.0.0-dev.* needs additional configuration. Downgrade vue-tsx-support to 2.3.3, or add `"jsxFactory": "VueTsxSupport"` to your `tsconfig.json` ( see https://github.com/wonderful-panda/vue-tsx-support/tree/beta#installation) I tested both way, and both worked as expected. BTW, I don't...

I think it would be nice if we can use namespaced module like as ```typescript /* * equivalent to ctx.commit("foo/bar/action", arg) */ ctx.commit.foo.bar("action", arg); // OR ctx.foo.bar.commit("action", arg); // OR...

FYI, I wrote helper to make store half-decent type safe. https://gist.github.com/wonderful-panda/46c072497f8731a2bde28da40e9ea2d7 It seems to work well except namespaced module.

@Glidias yes. Nested module example is below: ```ts const module1 = builder.createModule({ /* module1 definition */ }); const module2 = builder.createModule({ /* module2 definition */ }); const parentModule = builder.addModule("bar",...