Skip to content
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

Getting type errors after installing simplebar-react library #700

Open
oguzgelal opened this issue Jul 19, 2024 · 0 comments
Open

Getting type errors after installing simplebar-react library #700

oguzgelal opened this issue Jul 19, 2024 · 0 comments

Comments

@oguzgelal
Copy link

Describe the bug
After installing the library, I immediately get the following errors:


../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:15 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                   ~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:35 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                       ~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:61 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                 ~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:117 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                         ~~~~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:146 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                      ~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:188 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                                                                ~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:213 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                                                                                         ~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:232 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                                                                                                            ~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:283 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                                                                                                                                                               ~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:307 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                                                                                                                                                                                       ~~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-model/dist/index.d.ts:1660:328 - error TS1005: ',' expected.

1660 export { type AttributeSpec, type Attrs, ContentMatch, type DOMOutputSpec, DOMParser, DOMSerializer, Fragment, type GenericParseRule, Mark, type MarkSpec, MarkType, Node, NodeRange, type NodeSpec, NodeType, type ParseOptions, type ParseRule, ReplaceError, ResolvedPos, Schema, type SchemaSpec, Slice, type StyleParseRule, type TagParseRule };
                                                                                                                                                                                                                                                                                                                                            ~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:15 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                  ~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:45 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                ~~~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:82 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                                                     ~~~~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:105 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                                                                            ~~~~~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:129 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                                                                                                    ~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:159 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                                                                                                                                  ~~~~~~~~~~~~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:185 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                                                                                                                                                            ~~~~~~~~

../../node_modules/@tiptap/pm/node_modules/prosemirror-view/dist/index.d.ts:924:200 - error TS1005: ',' expected.

924 export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
                                                                                                                                                                                                           ~~~~~~~~~~~~~~~~~~~

../../node_modules/@types/lodash-es/node_modules/@types/lodash/common/object.d.ts:1026:46 - error TS1005: '?' expected.

1026         : K extends `${infer N extends number}` ? T[N]
                                                  ~

../../node_modules/@types/lodash-es/node_modules/@types/lodash/common/object.d.ts:1031:46 - error TS1005: '?' expected.

1031         : K extends `${infer N extends number}` ? T[N]
                                                  ~

../../node_modules/@types/lodash-es/node_modules/@types/lodash/common/object.d.ts:1041:46 - error TS1005: '?' expected.

1041         : K extends `${infer N extends number}`
                                                  ~

[10:57:11 AM] Found 22 errors. Watching for file changes.

To Reproduce
Steps to reproduce the behavior:
yarn add simplebar-react

Expected behavior
No errors

Your environment

Software Version(s)
SimpleBar ^3.2.6
Browser -
npm/Yarn yarn: 1.22.22
Operating System macos 14.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant