type : a rectangular block usually of metal bearing a relief character from which an inked print can be made — Webster
typewriter : a machine for writing in characters similar to those produced by printer’s type by means of keyboard-operated types striking a ribbon to transfer ink or carbon impressions onto the paper — Webster
Typewriter is a mechanical or electromechanical device with keys that, when pressed, cause characters to be printed on a medium, usually paper. Typically one character is printed per keypress, and the machine prints the characters by making ink impressions of type elements similar to the sorts used in movable type letterpress printing. From their invention in 1868 through much of the 20th century, typewriters were indispensable tools for recording the written word. Widely used by professional writers and in offices for decades, by the end of the 1980s, word processors and personal computers largely displaced typewriters in the settings where they previously had been ubiquitous in the western world. — Wikipedia
Computer keyboard A computer keyboard is a peripheral input device modeled after the typewriter keyboard which uses an arrangement of buttons or keys to act as mechanical levers or electronic switches. Replacing early punched cards and paper tape technology, interaction via teleprinter-style keyboards have been the main input method for computers since the 1970s, supplemented by the computer mouse since the 1980s. — Wikipedia
Though electric and meriting hype,
My old typewriter’s now overripe.
Sure, it printed text neatly
And fixed typos completely,
But computers are much more my type. —
Rachel N. Ruchiccio, electric typewriter, OEDILF
Here are links to pages about closely related subjects.