-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Labels
bugSomething isn't working as intendedSomething isn't working as intendedeffort: easyProbably a quick fix. Want to contribute? :-)Probably a quick fix. Want to contribute? :-)
Description
@nvh reported an error in issue #949, which on investigation turned out to be a separate issue:
I encountered this error importing the
EditorState
fromdraft-js
and using it in a class
A minimal reproduction looks like this:import { EditorState } from "draft-js" export class Text { editorState: EditorState }making the editorState private fixes the problem.
Example project:
registerd-as-non-imported.zip
Reproduction steps:
The error message was:
The symbol EditorState is being imported after it was already registered as non-imported
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as intendedSomething isn't working as intendedeffort: easyProbably a quick fix. Want to contribute? :-)Probably a quick fix. Want to contribute? :-)