@nvh reported an error in issue #949, which on investigation turned out to be a separate issue:
I encountered this error importing the EditorState from draft-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