typescript definition type for yui