Problem using 'Share' plugin

Found this post:

Which does
const { Share } = Plugins
instead of the instructed
import { Share } from '@capacitor/share'.

It seems to work now.

Maybe the docs need an update?