add use valueStoreConfig for typed directive