You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
What version of typescript-eslint-parser are you using?
20.1.0
What code were you trying to parse?
import{action,observable,useStrict,runInAction,IObservableArray,}from'mobx';importorderReadServicefrom'@client/model/purchase/orderReadService';import{BizPurchaseOrderTO,PageTO,BizQueryOrderConditionTO,}from'@client/types/thrift/purchase';import{PURCHASE_ORDER_TYPE_ENUM}from'@constants/order';useStrict(true);exportdefaultclassListModalStore{// order list
@observableorderList: IObservableArray<BizPurchaseOrderTO>=observable([]);
@observableorderListPageInfo: PageTO={currentPage: 1,perPage: 10,total: '5'};}
What did you expect to happen?
no eslint error for the 'observable' which is imported from mobx.
What happened?
[eslint] 'observable' is defined but never used.
This is happened for the 'observable' which is imported from mobx.
The text was updated successfully, but these errors were encountered:
* Update: add proper scope analysis (fixes#535)
* add computed-properties-in-type fixture
* add computed-properties-in-interface fixture
* add function-overload fixture
* add method-overload fixture
* add class-properties fixture
* add decorators fixture
* update visitor-keys
* add declare-global fixture
* fix typo
* add test for typeof in array destructuring
* add namespace fixture
* add declare-module fixture
* fix crash
* add declare-function.ts fixture
* add abstract-class fixture
* add typeof-in-call-signature fixture
* add test for #416
* add test for #435
* add test for #437
* add test for #443
* add test for #459
* add test for #466
* add test for #471
* add test for #487
* add test for #535
* add test for #536
* add test for #476
* fix test to use `expect()`
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of TypeScript are you using?
3.1.4
What version of
typescript-eslint-parser
are you using?20.1.0
What code were you trying to parse?
What did you expect to happen?
no eslint error for the 'observable' which is imported from mobx.
What happened?
[eslint] 'observable' is defined but never used.
This is happened for the 'observable' which is imported from mobx.
The text was updated successfully, but these errors were encountered: