-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【bug】TypeError: Cannot read property 'type' of null #2057
Comments
related #2056 |
kurone-kito
added a commit
to kurone-kito/dantalion
that referenced
this issue
May 14, 2021
@mfoonirlee can you provide some code that causes the crash? |
Duplicate of #2063, then. |
Still not fixed with
Head source of of offending file: import type { SourceMapGenerator } from 'source-map';
import type { Element as _Element, Middleware } from 'stylis';
import type { xcssTag } from './helpers';
export type { Middleware };
// TODO: Remove?
export interface Element extends _Element { |
@maxmilton see #2077; that will be resolved shortly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the following line has some exception when
node
is nullfunction isExportNameClass(node) {
return node.type === 'ExportNamedDeclaration' && node.declaration.type === 'ClassDeclaration';
}
https://github.com/benmosher/eslint-plugin-import/blob/e9e755d085111004db2e3a79f2812484f5c0cf4e/src/rules/newline-after-import.js#L50
The text was updated successfully, but these errors were encountered: