Open hpandelo opened 2 months ago
Describe the bug With the following import import { DateTime, DurationLike } from 'luxon'; that is used in a type similar to the following:
import { DateTime, DurationLike } from 'luxon';
type MyMethodParams = { duration?: DurationLike; name: string; type: string; }
I'm receiving an error from ESLint: DurationLike not found in 'luxon'eslintimport/named
DurationLike not found in 'luxon'eslintimport/named
To Reproduce Import DurationLike (also some other types)
Actual vs Expected behavior DurationLike should be imported normally, since it's a public/exported resource
DurationLike
Desktop:
Describe the bug With the following import
import { DateTime, DurationLike } from 'luxon';
that is used in a type similar to the following:I'm receiving an error from ESLint:
DurationLike not found in 'luxon'eslintimport/named
To Reproduce Import DurationLike (also some other types)
Actual vs Expected behavior
DurationLike
should be imported normally, since it's a public/exported resourceDesktop: