Skip to content

Commit

Permalink
fix typescript complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
aatauil committed Feb 20, 2023
1 parent dba2685 commit 0502f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SELECT * WHERE {
} LIMIT 10`

export function createSparqlEditor({ parent, onChange, value }) {
const extensions = [defaultExtentions]
const extensions: [any] = [ defaultExtentions]
const doc = value || defaultDoc;

if(onChange === 'function') {
Expand Down

0 comments on commit 0502f4c

Please sign in to comment.