Skip to content

Instantly share code, notes, and snippets.

vhqtvn

Block or report user

Report or block vhqtvn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vue-no-reactive.ts
/* tslint:disable */
export function NoObserver<T>(target: T): T {
if (target === null || typeof target === 'undefined') {
return target;
}
(target as any)._isVue = true;
return target;
}
@vhqtvn
vhqtvn / vuex-module-decorators.d.ts
Created Jul 20, 2019
Hacky vuex-module-decorators fix for preserveState
View vuex-module-decorators.d.ts
import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators'
type ModulePreserveState = Module
export { Module, ModulePreserveState, VuexModule, Mutation, Action }
You can’t perform that action at this time.