src/text-area.ts, src/text-input.ts: fixes wrong interface definition