josemarluedke / remark-hbs

Remark plugin that allows writing markdown with Ember handlebars templates
MIT License
6 stars 2 forks source link

Incompatible with Unified v10 #27

Open NullVoxPopuli opened 3 years ago

NullVoxPopuli commented 3 years ago

I have this:

❯ yarn list unified
└─ unified@10.1.0

❯ yarn list remark-hbs
└─ remark-hbs@0.4.1

But when I run type checking, I get this error:

../node_modules/remark-hbs/index.d.ts:1:18 - error TS2305: Module '"unified"' has no exported member 'Settings'.

1 import { Plugin, Settings } from 'unified';
                   ~~~~~~~~

Currently blocking: https://github.com/NullVoxPopuli/limber/pull/326