TypeScript: Add generics to Mapper

Description

Mapper could expose a generic `forModel<T>()` methods to allow type checking.

 

Environment

None

Status

Assignee

Unassigned

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

Labels

Components

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Size

None

Priority

Major
Configure