Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript get full path of file

var path = require("path");
var absolutePath = path.resolve("Relative file path");

// or

import * as path from 'path';
var absolutePath = path.resolve("Relative file path");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #full #path #file
ADD COMMENT
Topic
Name
5+6 =