ad typescript setting