How to serializable for Generic type in cocos creator?

Is it possible to serializable for Generic type?

@ccclass('Dictionary')
export class Dictionary<K>
{
     @property([String])
     keys: string[] = []

     @property([K]) //Can not do this, cause K is a type, not a value
     value: K[] = []
}

After this, I have a component storage the Dictionarty value

@ccclass
export class DComp extends cc.Component
{
     @property(Dictionary/**<cc.Component>**/)
      dic: Dictionary<cc.Component> = new Dictionarty<cc.Component>();
}

So, the DComp only showing the keys property. Cause im not put the right type inside the @property of the value. I tested with [undefinded] and [cc.Object], but it still not right.

Is there another way. And I don’t want to force the K to extends any other class.

@dumganhar is it possible to serialize generic type values?

TypeScript doesn’t allow using a generic type parameter as a decorator argument.
This is because TypeScript’s type system is erased during compilation, and decorators are a runtime feature.

Maybe one option would be achieving it by Mixins?