Angular2 and Ionic


Can we keep a same ts file in Angular2 web site project
and Ionic 2 mobile App

i want to use a only one .ts file in both the project so that the maintaince will be easy
is it possible to have a 1 .ts file an access in both for Angular2 website project and and ionic2 mobile App

if you have any suggestion then please reply