In my old version, I make something like write, and that’s work. But it’s a old file types
. I want use a the latest P5 version, download from npm
and when read the instruction i’ve a feeling the folder p5
must add in the 'node-moduleand the organisation of type file file is completetly different, plus when I put the folder
types` where it work before that’s don’t work
older style that’s work
new style with newest types version that’s don’t work
I try try different path and different place for folder but that’s don’t work.
import Position from './Z_Position'
//import * as _ from "p5";
////<reference path="./node_modules/@types/p5/index.d.ts"/>
////<reference path="./types/p5/index.d.ts"/>
///<reference path="types/p5/index.d.ts"/>
the file index there is class p5
so i suppose i must target this file to start ?