Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 447 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 447 Bytes

CI

Tempalte [sic]

Create type safe re-usable template strings.

  const salute = tempalte<{
    salutation: string,
    entity: string,
  }>()(
    "${salutation} ${entity}!"
  ),

  expect(salute({
    salutation: 'Hello',
    entity: 'Word',
  }).toBe('Hello World!');