Constructor Of Undefined Error While Writing Editor Code

Hello i’m new on Cocos Creator and also type script.

I’m trying to make array of class but i couldn’t done it. Because of the simple error down below.
[Scene] Cannot read property ‘constructor’ of undefined
[Scene] Value dump failed.

When i tried to change the values o editor it resets to 0.
The code is down below;


import { Vec2, _decorator } from 'cc';
const { ccclass, property } = _decorator;

export class VideoControllerData {
    @property({ type: Number })
    targetTime: number = 0;

    @property({type: Vec2})
    targetPosition: Vec2;


import { _decorator, approx, Component, VideoPlayer } from 'cc';
const { ccclass, property } = _decorator;
import { VideoControllerData} from './VideoControllerData';

export class VideoController extends Component {
    @property({ type: [VideoControllerData] })
    videoControllerData: VideoControllerData[] = [];
export class VideoControllerData {
    @property({ type: CCInteger })
    // @property(CCFloat)
    targetTime: number = 0;

    targetPosition = new Vec2();

Error’s are disappeared but still changes doesn’t effects the values.

For example if i put target time 1-2-3-4 etc. it resets to 0.

It works will in my environment. I can read the right data in start()

My bad i closed the editor and it worked magicly i think it happend because of cache memory of the old array data?