You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm choosing the architecture for an EF/Web.API web application I'm working on. I'm evaluating several alternatives and I really like your Tripod approach.
I'm trying to test this solution in visual studio 2015, but I'm having some build-time errors in some .ts files (all errors are in the Tripod.Web project, built with the "Debug" configuration):
Error 1: Build: Argument of type 'JQuery | string' is not assignable to parameter of type 'string'.
File: --SolutionDir--\Tripod.Web\app_common\unobtrusive\bootbox-confirm.ts Line: 8
Error 2: Build: Type '{ preprocess: (value: string) => string; update: (element: Element, valueAccessor: () => any, all...' is not assignable to type 'KnockoutBindingHandler'.
File: --SolutionDir--\Tripod.Web\app_common\widgets\BindingHandlers.ts Line: 6
Error 3: Build: An index expression argument must be of type 'string', 'number', 'symbol, or 'any'.
File: --SolutionDir--\Tripod.Web\app_common\widgets\BindingHandlers.ts Line:12
Error 4: Build: Type '{ value: (other: any) => any; validator: (val: any, otherField: any) => boolean; message: string; }' is not assignable to type 'KnockoutValidationRuleDefinition'.
File: --SolutionDir--\Tripod.Web\app_common\widgets\ValidationRules.ts Line: 47
Please, as I'm a bit new on the .ts world, could you help me figure out how to solve these errors?
Thank you so much.
Matteo
The text was updated successfully, but these errors were encountered:
Hi @phobos04 and @sproutslypaul, I am terribly sorry I missed this issue. I haven't made any commits to tripod in a while, as you can see. As for Typescript, I imagine the problem is due to a TypeScript version issue. TypeScript has come a long way since I last used it. Perhaps try installing an older version of TypeScript like 1.0?
You might also want to try deleting all of the .ts files, as they should have already been compiled to javascript and checked into source control. I am sorry, I wish I could be more helpful.
Hi,
I'm choosing the architecture for an EF/Web.API web application I'm working on. I'm evaluating several alternatives and I really like your Tripod approach.
I'm trying to test this solution in visual studio 2015, but I'm having some build-time errors in some .ts files (all errors are in the Tripod.Web project, built with the "Debug" configuration):
File: --SolutionDir--\Tripod.Web\app_common\unobtrusive\bootbox-confirm.ts Line: 8
File: --SolutionDir--\Tripod.Web\app_common\widgets\BindingHandlers.ts Line: 6
File: --SolutionDir--\Tripod.Web\app_common\widgets\BindingHandlers.ts Line:12
File: --SolutionDir--\Tripod.Web\app_common\widgets\ValidationRules.ts Line: 47
Please, as I'm a bit new on the .ts world, could you help me figure out how to solve these errors?
Thank you so much.
Matteo
The text was updated successfully, but these errors were encountered: