don't mention legacy API in README

This commit is contained in:
Eugene Pankov 2020-08-16 18:24:55 +02:00
parent b3fcfd0c8b
commit 6c8d00eb16
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -9,7 +9,7 @@ Terminus Terminal Plugin
Using the API: Using the API:
```ts ```ts
import { TerminalContextMenuItemProvider } from 'terminus-terminal' import { ShellProvider } from 'terminus-terminal'
``` ```
Exporting your subclasses: Exporting your subclasses:
@ -19,7 +19,7 @@ Exporting your subclasses:
... ...
providers: [ providers: [
... ...
{ provide: TerminalContextMenuItemProvider, useClass: MyContextMenu, multi: true }, { provide: ShellProvider, useClass: MyShellPlugin, multi: true },
... ...
] ]
}) })