icebob/fakerator

Ts lint

cskiwi opened this issue · 1 comments

Hi,

When running tslint I'm getting errors on the d.ts file.

fakerator.d.ts(32,9): error TS2300: Duplicate identifier 'Technics'.
fakerator.d.ts(34,9): error TS2300: Duplicate identifier 'Technics'.
fakerator.d.ts(107,42): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(123,17): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(145,13): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(469,21): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(471,14): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(478,40): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(478,68): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
fakerator.d.ts(486,54): error TS2552: Cannot find name 'ITimesOptions'. Did you mean 'TimesOptions'?
fakerator.d.ts(489,55): error TS2552: Cannot find name 'ITimesOptions'. Did you mean 'TimesOptions'?
fakerator.d.ts(493,25): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(495,24): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(497,26): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(499,24): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(501,26): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(503,27): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(505,24): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(507,23): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(509,23): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(511,25): error TS1039: Initializers are not allowed in ambient contexts.
fakerator.d.ts(513,20): error TS2714: The expression of an export assignment must be an identifier or qualified name in an ambient context.

They seem like valid errors, you might want to check them out?

@centrual could you fix them?