please add type definition for typescript compatibility
please add type definition for typescript compatibility