Refactor the files and runfiles fields from strings to the DefaultInfo() provider.
Refactor the files and runfiles fields from strings to the DefaultInfo() provider.

This is the beginning of removing the legacy providers, per https://github.com/bazelbuild/bazel/issues/7347

See https://docs.bazel.build/versions/master/skylark/rules.html#migrating-from-legacy-providers:
"
The fields files, runfiles, data_runfiles, default_runfiles, and executable correspond to the same-named fields of DefaultInfo. It is not allowed to specify any of these fields while also returning a DefaultInfo modern provider.
"

PiperOrigin-RevId: 264941716

bazelbuild/rules_typescript,bazelbuild/rules_typescript,bazelbuild/rules_typescript