'Frame' Reference Error

Hi everyone,
I was dabbling around with the widget API and encounter an error I can’t resolve.
The error is the following : “figma_app.min.js.br:5 ReferenceError: ‘Frame’ is not defined” which correspond to this error within typescript: " error TS2693: ‘Frame’ only refers to a type, but is being used as a value here.".
Frame is the only one causing issues (other types are working fine). I’ve stripped it down to the bear minimum to test it with no success. As anyone any idea ?

  name="Vote +"

Have you declared the Frame component as a constant?

const {widget} = figma;
const {Frame} = widget;

haaaa ! Thanks, every other references were automatically added, so I didn’t paid attention to this.