File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ class Pluggable<Instance = DOMWrapper<Node>> {
4848 return handler ( instance , options ) // invoke the setup method passed to install
4949 }
5050 const bindProperty = ( [ property , value ] : [ string , any ] ) => {
51+ // eslint-disable-next-line no-extra-semi
5152 ; ( instance as any ) [ property ] =
5253 typeof value === 'function' ? value . bind ( instance ) : value
5354 }
Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ export function createInstance(
231231 }
232232 // also intercept the proxy calls to make the mocks available on the instance
233233 // (useful when a template access a global function like $t and the developer wants to mock it)
234+ // eslint-disable-next-line no-extra-semi
234235 ; ( this . $ as any ) . proxy = new Proxy ( ( this . $ as any ) . proxy , {
235236 get ( target , key ) {
236237 if ( key in global . mocks ) {
@@ -243,6 +244,7 @@ export function createInstance(
243244 for ( const [ k , v ] of Object . entries (
244245 global . mocks as { [ key : string ] : any }
245246 ) ) {
247+ // eslint-disable-next-line no-extra-semi
246248 ; ( this as any ) [ k ] = v
247249 }
248250 }
You can’t perform that action at this time.
0 commit comments