Example webpack api types

run npm run types to check that typescript types correctly referenced