Suppose you have the following thrift files:
And you compile this using:
./thrift-0.7.0 -strict -r --gen js:node Y.thrift
Two files are created: "X_types.js" and "Y_types.js".
Y_types has lines that look like:
However X_ttypes is never require()d
The following line should be generated on top of the file: