Skip to content

cant publish due to ts errors #70

Open
@barisusakli

Description

@barisusakli
Loading svelte-check in workspace: d:\github\nodebb-plugin-emoji
Getting Svelte diagnostics...

d:\github\nodebb-plugin-emoji\lib\parse.ts:188:42
Error: Argument of type 'MetaCache | null' is not assignable to parameter of type 'MetaCache'.
  Type 'null' is not assignable to type 'MetaCache'.
            if (text) {
              return replaceNative(text, store, onReplace);
            }


d:\github\nodebb-plugin-emoji\lib\parse.ts:213:41
Error: Argument of type 'MetaCache | null' is not assignable to parameter of type 'MetaCache'.
  Type 'null' is not assignable to type 'MetaCache'.
            if (text) {
              return replaceAscii(text, store, mode, onReplace);
            }
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions