How to include and use datainspector in angular 6

i m working on a diagram in angular i did it in js but i need to convert it to angular 6 but i cant seem to know how to use data inspector in my diagram is how to use it do in need to import it separately that go js or is it included in
import * as go from ‘gojs’;?
and how to initialize it

It’s an extension. You probably want to copy the files from the extensionsTS directory.