decide lib.d.ts using suffix