retype q.d.ts to Q.d.ts